Skip to content

[BUG] The resource type could not be found in the namespace 'Microsoft.Sql' for api version '2019-06-01-preview' #1005

Open

Description

Describe the bug
I created a SQL Azure database server with a database manually and also with code using the SDK.

I have some code snippet that tags all resources within a resource group. See #978 (comment)

When I try to receive the resource for the Azure database, I get the following errror:

The resource type could not be found in the namespace 'Microsoft.Sql' for api version '2019-06-01-preview'

Failing code:

var res = await _genericResources.GetByIdAsync(resource.Id);

Expected behavior
It should be possible to retrieve and tag Azure Sql database resources.

Setup:

  • Microsoft.Azure.Management.Fluent 1.31.1
  • Microsoft.Azure.Management.ResourceManager.Fluent 1.31.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

MgmtManagement plane SDK related issues.SQLService Attentioncustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions