Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add table azure_api_management_backend. Closes #644 #689

Merged
merged 5 commits into from
Feb 2, 2024
Merged

Conversation

madhushreeray30
Copy link
Contributor

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
select * from azure_api_management_backend
[
 {
  "_ctx": {
   "connection_name": "azure"
  },
  "akas": [
   "azure:///subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourceGroups/DefaultResourceGroup-WEU/providers/Microsoft.ApiManagement/service/mrtest/backends/mrtestbackend",
   "azure:///subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourcegroups/defaultresourcegroup-weu/providers/microsoft.apimanagement/service/mrtest/backends/mrtestbackend"
  ],
  "backend_id": "mrtestbackend",
  "cloud_environment": "AzurePublicCloud",
  "credentials": {
   "authorization": {
    "parameter": "username:password",
    "scheme": "Basic"
   },
   "header": {},
   "query": {}
  },
  "description": "This is the test backend",
  "id": "/subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourceGroups/DefaultResourceGroup-WEU/providers/Microsoft.ApiManagement/service/mrtest/backends/mrtestbackend",
  "name": "mrtestbackend",
  "properties": null,
  "protocol": "http",
  "proxy": null,
  "resource_group": "defaultresourcegroup-weu",
  "resource_id": null,
  "service_name": "mrtest",
  "subscription_id": "d46d7416-2222-3333-bbb5-111111111111",
  "title": "mrtestbackend",
  "tls": {
   "validateCertificateChain": true,
   "validateCertificateName": true
  },
  "type": "Microsoft.ApiManagement/service/backends",
  "url": "https://api.sampleproductservice.com/v1/products"
 }
]
select * from azure_api_management_backend where backend_id='mrtestbackend' and service_name = 'mrtest' and resource_group = 'defaultresourcegroup-weu'
[
 {
  "_ctx": {
   "connection_name": "azure"
  },
  "akas": [
   "azure:///subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourceGroups/defaultresourcegroup-weu/providers/Microsoft.ApiManagement/service/mrtest/backends/mrtestbackend",
   "azure:///subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourcegroups/defaultresourcegroup-weu/providers/microsoft.apimanagement/service/mrtest/backends/mrtestbackend"
  ],
  "backend_id": "mrtestbackend",
  "cloud_environment": "AzurePublicCloud",
  "credentials": {
   "authorization": {
    "parameter": "username:password",
    "scheme": "Basic"
   },
   "header": {},
   "query": {}
  },
  "description": "This is the test backend",
  "id": "/subscriptions/d46d7416-2222-3333-bbb5-111111111111/resourceGroups/defaultresourcegroup-weu/providers/Microsoft.ApiManagement/service/mrtest/backends/mrtestbackend",
  "name": "mrtestbackend",
  "properties": null,
  "protocol": "http",
  "proxy": null,
  "resource_group": "defaultresourcegroup-weu",
  "resource_id": null,
  "service_name": "mrtest",
  "subscription_id": "d46d7416-2222-3333-bbb5-111111111111",
  "title": "mrtestbackend",
  "tls": {
   "validateCertificateChain": true,
   "validateCertificateName": true
  },
  "type": "Microsoft.ApiManagement/service/backends",
  "url": "https://api.sampleproductservice.com/v1/products"
 }
]

@madhushreeray30 madhushreeray30 self-assigned this Oct 30, 2023
@madhushreeray30 madhushreeray30 changed the title Add table azure_api_management_backend Add table azure_api_management_backend. Closes #644 Oct 30, 2023
@madhushreeray30 madhushreeray30 linked an issue Oct 30, 2023 that may be closed by this pull request
Copy link
Contributor

@ParthaI ParthaI left a comment

Choose a reason for hiding this comment

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

@madhushreeray30, Please take a look at the review comments. Thanks!

azure/table_azure_api_management_backend.go Show resolved Hide resolved
azure/table_azure_api_management_backend.go Outdated Show resolved Hide resolved
azure/table_azure_api_management_backend.go Outdated Show resolved Hide resolved
azure/table_azure_api_management_backend.go Show resolved Hide resolved
azure/table_azure_api_management_backend.go Outdated Show resolved Hide resolved
azure/table_azure_api_management_backend.go Outdated Show resolved Hide resolved
@bigdatasourav bigdatasourav merged commit e8a9099 into main Feb 2, 2024
1 check passed
@bigdatasourav bigdatasourav deleted the issue-644 branch February 2, 2024 06:09
@ParthaI ParthaI restored the issue-644 branch February 13, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table azure_api_management_backend
4 participants