Skip to content

Commit

Permalink
CodeGen from PR 13330 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0b9be833d185a4c6b326a22b9334a1a5eac0a34b into abfe5f8
  • Loading branch information
SDKAuto committed Mar 10, 2021
1 parent 6fa2a9c commit 06deb4c
Show file tree
Hide file tree
Showing 49 changed files with 4,796 additions and 4,045 deletions.
2 changes: 1 addition & 1 deletion src/datadog/azext_datadog/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.17.0"
"azext.minCliCoreVersion": "2.15.0"
}
32 changes: 6 additions & 26 deletions src/datadog/azext_datadog/generated/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,22 @@

def cf_datadog_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.datadog import MicrosoftDatadogClient
from azext_datadog.vendored_sdks.datadog import MicrosoftDatadogClient
return get_mgmt_service_client(cli_ctx,
MicrosoftDatadogClient)


def cf_api_key(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).api_key


def cf_host(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).host


def cf_linked_resource(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).linked_resource


def cf_monitored_resource(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).monitored_resource
def cf_marketplace_agreement(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).marketplace_agreements


def cf_monitor(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).monitor


def cf_refresh_set_password(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).refresh_set_password
return cf_datadog_cl(cli_ctx).monitors


def cf_tag_rule(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).tag_rule
return cf_datadog_cl(cli_ctx).tag_rules


def cf_single_sign_on_configuration(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).single_sign_on_configuration


def cf_marketplace_agreement(cli_ctx, *_):
return cf_datadog_cl(cli_ctx).marketplace_agreements
return cf_datadog_cl(cli_ctx).single_sign_on_configurations
Loading

0 comments on commit 06deb4c

Please sign in to comment.