@pulumi/azure-native 2.11.0 → 2.11.1-alpha.1697052021

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dbformysql/v20171201/configuration.d.ts +85 -0
  2. package/dbformysql/v20171201/configuration.js +81 -0
  3. package/dbformysql/v20171201/database.d.ts +69 -0
  4. package/dbformysql/v20171201/database.js +73 -0
  5. package/dbformysql/v20171201/firewallRule.d.ts +69 -0
  6. package/dbformysql/v20171201/firewallRule.js +79 -0
  7. package/dbformysql/v20171201/getConfiguration.d.ts +78 -0
  8. package/dbformysql/v20171201/getConfiguration.js +27 -0
  9. package/dbformysql/v20171201/getDatabase.d.ts +62 -0
  10. package/dbformysql/v20171201/getDatabase.js +27 -0
  11. package/dbformysql/v20171201/getFirewallRule.d.ts +62 -0
  12. package/dbformysql/v20171201/getFirewallRule.js +27 -0
  13. package/dbformysql/v20171201/getServerAdministrator.d.ts +62 -0
  14. package/dbformysql/v20171201/getServerAdministrator.js +26 -0
  15. package/dbformysql/v20171201/getVirtualNetworkRule.d.ts +66 -0
  16. package/dbformysql/v20171201/getVirtualNetworkRule.js +27 -0
  17. package/dbformysql/v20171201/index.d.ts +30 -0
  18. package/dbformysql/v20171201/index.js +37 -2
  19. package/dbformysql/v20171201/serverAdministrator.d.ts +82 -0
  20. package/dbformysql/v20171201/serverAdministrator.js +88 -0
  21. package/dbformysql/v20171201/virtualNetworkRule.d.ts +73 -0
  22. package/dbformysql/v20171201/virtualNetworkRule.js +78 -0
  23. package/dbforpostgresql/v20171201/configuration.d.ts +85 -0
  24. package/dbforpostgresql/v20171201/configuration.js +81 -0
  25. package/dbforpostgresql/v20171201/database.d.ts +69 -0
  26. package/dbforpostgresql/v20171201/database.js +73 -0
  27. package/dbforpostgresql/v20171201/firewallRule.d.ts +69 -0
  28. package/dbforpostgresql/v20171201/firewallRule.js +79 -0
  29. package/dbforpostgresql/v20171201/getConfiguration.d.ts +78 -0
  30. package/dbforpostgresql/v20171201/getConfiguration.js +27 -0
  31. package/dbforpostgresql/v20171201/getDatabase.d.ts +62 -0
  32. package/dbforpostgresql/v20171201/getDatabase.js +27 -0
  33. package/dbforpostgresql/v20171201/getFirewallRule.d.ts +62 -0
  34. package/dbforpostgresql/v20171201/getFirewallRule.js +27 -0
  35. package/dbforpostgresql/v20171201/getServerAdministrator.d.ts +62 -0
  36. package/dbforpostgresql/v20171201/getServerAdministrator.js +26 -0
  37. package/dbforpostgresql/v20171201/getServerSecurityAlertPolicy.d.ts +82 -0
  38. package/dbforpostgresql/v20171201/getServerSecurityAlertPolicy.js +27 -0
  39. package/dbforpostgresql/v20171201/getVirtualNetworkRule.d.ts +66 -0
  40. package/dbforpostgresql/v20171201/getVirtualNetworkRule.js +27 -0
  41. package/dbforpostgresql/v20171201/index.d.ts +36 -0
  42. package/dbforpostgresql/v20171201/index.js +44 -2
  43. package/dbforpostgresql/v20171201/serverAdministrator.d.ts +82 -0
  44. package/dbforpostgresql/v20171201/serverAdministrator.js +88 -0
  45. package/dbforpostgresql/v20171201/serverSecurityAlertPolicy.d.ts +110 -0
  46. package/dbforpostgresql/v20171201/serverSecurityAlertPolicy.js +86 -0
  47. package/dbforpostgresql/v20171201/virtualNetworkRule.d.ts +73 -0
  48. package/dbforpostgresql/v20171201/virtualNetworkRule.js +78 -0
  49. package/package.json +1 -1
  50. package/tsconfig.tsbuildinfo +1 -1
  51. package/types/enums/dbformysql/v20171201/index.d.ts +7 -0
  52. package/types/enums/dbformysql/v20171201/index.js +5 -2
  53. package/types/enums/dbforpostgresql/v20171201/index.d.ts +15 -0
  54. package/types/enums/dbforpostgresql/v20171201/index.js +9 -2
@@ -0,0 +1,85 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Represents a Configuration.
4
+ */
5
+ export declare class Configuration extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing Configuration resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Configuration;
15
+ /**
16
+ * Returns true if the given object is an instance of Configuration. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is Configuration;
20
+ /**
21
+ * Allowed values of the configuration.
22
+ */
23
+ readonly allowedValues: pulumi.Output<string>;
24
+ /**
25
+ * Data type of the configuration.
26
+ */
27
+ readonly dataType: pulumi.Output<string>;
28
+ /**
29
+ * Default value of the configuration.
30
+ */
31
+ readonly defaultValue: pulumi.Output<string>;
32
+ /**
33
+ * Description of the configuration.
34
+ */
35
+ readonly description: pulumi.Output<string>;
36
+ /**
37
+ * The name of the resource
38
+ */
39
+ readonly name: pulumi.Output<string>;
40
+ /**
41
+ * Source of the configuration.
42
+ */
43
+ readonly source: pulumi.Output<string | undefined>;
44
+ /**
45
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
46
+ */
47
+ readonly type: pulumi.Output<string>;
48
+ /**
49
+ * Value of the configuration.
50
+ */
51
+ readonly value: pulumi.Output<string | undefined>;
52
+ /**
53
+ * Create a Configuration resource with the given unique name, arguments, and options.
54
+ *
55
+ * @param name The _unique_ name of the resource.
56
+ * @param args The arguments to use to populate this resource's properties.
57
+ * @param opts A bag of options that control this resource's behavior.
58
+ */
59
+ constructor(name: string, args: ConfigurationArgs, opts?: pulumi.CustomResourceOptions);
60
+ }
61
+ /**
62
+ * The set of arguments for constructing a Configuration resource.
63
+ */
64
+ export interface ConfigurationArgs {
65
+ /**
66
+ * The name of the server configuration.
67
+ */
68
+ configurationName?: pulumi.Input<string>;
69
+ /**
70
+ * The name of the resource group. The name is case insensitive.
71
+ */
72
+ resourceGroupName: pulumi.Input<string>;
73
+ /**
74
+ * The name of the server.
75
+ */
76
+ serverName: pulumi.Input<string>;
77
+ /**
78
+ * Source of the configuration.
79
+ */
80
+ source?: pulumi.Input<string>;
81
+ /**
82
+ * Value of the configuration.
83
+ */
84
+ value?: pulumi.Input<string>;
85
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Configuration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a Configuration.
10
+ */
11
+ class Configuration extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Configuration resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Configuration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Configuration. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Configuration.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Configuration resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'resourceGroupName'");
46
+ }
47
+ if ((!args || args.serverName === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'serverName'");
49
+ }
50
+ resourceInputs["configurationName"] = args ? args.configurationName : undefined;
51
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
52
+ resourceInputs["serverName"] = args ? args.serverName : undefined;
53
+ resourceInputs["source"] = args ? args.source : undefined;
54
+ resourceInputs["value"] = args ? args.value : undefined;
55
+ resourceInputs["allowedValues"] = undefined /*out*/;
56
+ resourceInputs["dataType"] = undefined /*out*/;
57
+ resourceInputs["defaultValue"] = undefined /*out*/;
58
+ resourceInputs["description"] = undefined /*out*/;
59
+ resourceInputs["name"] = undefined /*out*/;
60
+ resourceInputs["type"] = undefined /*out*/;
61
+ }
62
+ else {
63
+ resourceInputs["allowedValues"] = undefined /*out*/;
64
+ resourceInputs["dataType"] = undefined /*out*/;
65
+ resourceInputs["defaultValue"] = undefined /*out*/;
66
+ resourceInputs["description"] = undefined /*out*/;
67
+ resourceInputs["name"] = undefined /*out*/;
68
+ resourceInputs["source"] = undefined /*out*/;
69
+ resourceInputs["type"] = undefined /*out*/;
70
+ resourceInputs["value"] = undefined /*out*/;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20171201preview:Configuration" }, { type: "azure-native:dbformysql/v20180601privatepreview:Configuration" }] };
74
+ opts = pulumi.mergeOptions(opts, aliasOpts);
75
+ super(Configuration.__pulumiType, name, resourceInputs, opts);
76
+ }
77
+ }
78
+ exports.Configuration = Configuration;
79
+ /** @internal */
80
+ Configuration.__pulumiType = 'azure-native:dbformysql/v20171201:Configuration';
81
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RiZm9ybXlzcWwvdjIwMTcxMjAxL2NvbmZpZ3VyYXRpb24udHMiXSwibmFtZXMiOltdLC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FNBQVMsQ0FBQyxDQUFDO1FBQzVDLEtBQUssQ0FBQyxhQUFhLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDbEUsQ0FBQzs7QUF0R0wsc0NBdUdDO0FBMUZHLGdCQUFnQjtBQUNPLDBCQUFZLEdBQUcsaURBQWlELENBQUMifQ==
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Represents a Database.
4
+ */
5
+ export declare class Database extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing Database resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Database;
15
+ /**
16
+ * Returns true if the given object is an instance of Database. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is Database;
20
+ /**
21
+ * The charset of the database.
22
+ */
23
+ readonly charset: pulumi.Output<string | undefined>;
24
+ /**
25
+ * The collation of the database.
26
+ */
27
+ readonly collation: pulumi.Output<string | undefined>;
28
+ /**
29
+ * The name of the resource
30
+ */
31
+ readonly name: pulumi.Output<string>;
32
+ /**
33
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
34
+ */
35
+ readonly type: pulumi.Output<string>;
36
+ /**
37
+ * Create a Database resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a Database resource.
47
+ */
48
+ export interface DatabaseArgs {
49
+ /**
50
+ * The charset of the database.
51
+ */
52
+ charset?: pulumi.Input<string>;
53
+ /**
54
+ * The collation of the database.
55
+ */
56
+ collation?: pulumi.Input<string>;
57
+ /**
58
+ * The name of the database.
59
+ */
60
+ databaseName?: pulumi.Input<string>;
61
+ /**
62
+ * The name of the resource group. The name is case insensitive.
63
+ */
64
+ resourceGroupName: pulumi.Input<string>;
65
+ /**
66
+ * The name of the server.
67
+ */
68
+ serverName: pulumi.Input<string>;
69
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Database = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a Database.
10
+ */
11
+ class Database extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Database resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Database(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Database. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Database.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Database resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'resourceGroupName'");
46
+ }
47
+ if ((!args || args.serverName === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'serverName'");
49
+ }
50
+ resourceInputs["charset"] = args ? args.charset : undefined;
51
+ resourceInputs["collation"] = args ? args.collation : undefined;
52
+ resourceInputs["databaseName"] = args ? args.databaseName : undefined;
53
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
54
+ resourceInputs["serverName"] = args ? args.serverName : undefined;
55
+ resourceInputs["name"] = undefined /*out*/;
56
+ resourceInputs["type"] = undefined /*out*/;
57
+ }
58
+ else {
59
+ resourceInputs["charset"] = undefined /*out*/;
60
+ resourceInputs["collation"] = undefined /*out*/;
61
+ resourceInputs["name"] = undefined /*out*/;
62
+ resourceInputs["type"] = undefined /*out*/;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20171201preview:Database" }, { type: "azure-native:dbformysql/v20180601privatepreview:Database" }] };
66
+ opts = pulumi.mergeOptions(opts, aliasOpts);
67
+ super(Database.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.Database = Database;
71
+ /** @internal */
72
+ Database.__pulumiType = 'azure-native:dbformysql/v20171201:Database';
73
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kYmZvcm15c3FsL3YyMDE3MTIwMS9kYXRhYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUN6Qyw2Q0FBNkM7QUFFN0M7O0dBRUc7QUFDSCxNQUFhLFFBQVMsU0FBUS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BQUMsT0FBTyxDQUFDO1NBQzlDO1FBQ0QsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFDbkUsTUFBTSxTQUFTLEdBQUcsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxtREFBbUQsRUFBRSxFQUFFLEVBQUUsSUFBSSxFQUFFLDBEQUEwRCxFQUFFLENBQUMsRUFBRSxDQUFDO1FBQ3JLLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQztRQUM1QyxLQUFLLENBQUMsUUFBUSxDQUFDLFlBQVksRUFBRSxJQUFJLEVBQUUsY0FBYyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzdELENBQUM7O0FBOUVMLDRCQStFQztBQWxFRyxnQkFBZ0I7QUFDTyxxQkFBWSxHQUFHLDRDQUE0QyxDQUFDIn0=
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Represents a server firewall rule.
4
+ */
5
+ export declare class FirewallRule extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing FirewallRule resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): FirewallRule;
15
+ /**
16
+ * Returns true if the given object is an instance of FirewallRule. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is FirewallRule;
20
+ /**
21
+ * The end IP address of the server firewall rule. Must be IPv4 format.
22
+ */
23
+ readonly endIpAddress: pulumi.Output<string>;
24
+ /**
25
+ * The name of the resource
26
+ */
27
+ readonly name: pulumi.Output<string>;
28
+ /**
29
+ * The start IP address of the server firewall rule. Must be IPv4 format.
30
+ */
31
+ readonly startIpAddress: pulumi.Output<string>;
32
+ /**
33
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
34
+ */
35
+ readonly type: pulumi.Output<string>;
36
+ /**
37
+ * Create a FirewallRule resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args: FirewallRuleArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a FirewallRule resource.
47
+ */
48
+ export interface FirewallRuleArgs {
49
+ /**
50
+ * The end IP address of the server firewall rule. Must be IPv4 format.
51
+ */
52
+ endIpAddress: pulumi.Input<string>;
53
+ /**
54
+ * The name of the server firewall rule.
55
+ */
56
+ firewallRuleName?: pulumi.Input<string>;
57
+ /**
58
+ * The name of the resource group. The name is case insensitive.
59
+ */
60
+ resourceGroupName: pulumi.Input<string>;
61
+ /**
62
+ * The name of the server.
63
+ */
64
+ serverName: pulumi.Input<string>;
65
+ /**
66
+ * The start IP address of the server firewall rule. Must be IPv4 format.
67
+ */
68
+ startIpAddress: pulumi.Input<string>;
69
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.FirewallRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a server firewall rule.
10
+ */
11
+ class FirewallRule extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing FirewallRule resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new FirewallRule(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of FirewallRule. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === FirewallRule.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a FirewallRule resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.endIpAddress === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'endIpAddress'");
46
+ }
47
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'resourceGroupName'");
49
+ }
50
+ if ((!args || args.serverName === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'serverName'");
52
+ }
53
+ if ((!args || args.startIpAddress === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'startIpAddress'");
55
+ }
56
+ resourceInputs["endIpAddress"] = args ? args.endIpAddress : undefined;
57
+ resourceInputs["firewallRuleName"] = args ? args.firewallRuleName : undefined;
58
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
59
+ resourceInputs["serverName"] = args ? args.serverName : undefined;
60
+ resourceInputs["startIpAddress"] = args ? args.startIpAddress : undefined;
61
+ resourceInputs["name"] = undefined /*out*/;
62
+ resourceInputs["type"] = undefined /*out*/;
63
+ }
64
+ else {
65
+ resourceInputs["endIpAddress"] = undefined /*out*/;
66
+ resourceInputs["name"] = undefined /*out*/;
67
+ resourceInputs["startIpAddress"] = undefined /*out*/;
68
+ resourceInputs["type"] = undefined /*out*/;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20171201preview:FirewallRule" }, { type: "azure-native:dbformysql/v20180601privatepreview:FirewallRule" }] };
72
+ opts = pulumi.mergeOptions(opts, aliasOpts);
73
+ super(FirewallRule.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.FirewallRule = FirewallRule;
77
+ /** @internal */
78
+ FirewallRule.__pulumiType = 'azure-native:dbformysql/v20171201:FirewallRule';
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyZXdhbGxSdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vZGJmb3JteXNxbC92MjAxNzEyMDEvZmlyZXdhbGxSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBQ3pDLDZDQUE2QztBQUU3Qzs7R0FFRztBQUNILE1BQWEsWUFBYSxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBQ25EOzs7Ozs7O09BT0c7SUFDSSxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVksRUFBRSxFQUEyQixFQUFFLElBQW1DO1FBQzVGLE9BQU8sSUFBSSxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQWdCLGtDQUFPLElBQUksS0FBRSxFQUFFLEVBQUUsRUFBRSxJQUFHLENBQUM7SUFDekUsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBR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UFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7U0FDOUM7UUFDRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNuRSxNQUFNLFNBQVMsR0FBRyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLHVEQUF1RCxFQUFFLEVBQUUsRUFBRSxJQUFJLEVBQUUsOERBQThELEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDN0ssSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQzVDLEtBQUssQ0FBQyxZQUFZLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDakUsQ0FBQzs7QUFwRkwsb0NBcUZDO0FBeEVHLGdCQUFnQjtBQUNPLHlCQUFZLEdBQUcsZ0RBQWdELENBQUMifQ==
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Gets information about a configuration of server.
4
+ */
5
+ export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationResult>;
6
+ export interface GetConfigurationArgs {
7
+ /**
8
+ * The name of the server configuration.
9
+ */
10
+ configurationName: string;
11
+ /**
12
+ * The name of the resource group. The name is case insensitive.
13
+ */
14
+ resourceGroupName: string;
15
+ /**
16
+ * The name of the server.
17
+ */
18
+ serverName: string;
19
+ }
20
+ /**
21
+ * Represents a Configuration.
22
+ */
23
+ export interface GetConfigurationResult {
24
+ /**
25
+ * Allowed values of the configuration.
26
+ */
27
+ readonly allowedValues: string;
28
+ /**
29
+ * Data type of the configuration.
30
+ */
31
+ readonly dataType: string;
32
+ /**
33
+ * Default value of the configuration.
34
+ */
35
+ readonly defaultValue: string;
36
+ /**
37
+ * Description of the configuration.
38
+ */
39
+ readonly description: string;
40
+ /**
41
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * The name of the resource
46
+ */
47
+ readonly name: string;
48
+ /**
49
+ * Source of the configuration.
50
+ */
51
+ readonly source?: string;
52
+ /**
53
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
54
+ */
55
+ readonly type: string;
56
+ /**
57
+ * Value of the configuration.
58
+ */
59
+ readonly value?: string;
60
+ }
61
+ /**
62
+ * Gets information about a configuration of server.
63
+ */
64
+ export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigurationResult>;
65
+ export interface GetConfigurationOutputArgs {
66
+ /**
67
+ * The name of the server configuration.
68
+ */
69
+ configurationName: pulumi.Input<string>;
70
+ /**
71
+ * The name of the resource group. The name is case insensitive.
72
+ */
73
+ resourceGroupName: pulumi.Input<string>;
74
+ /**
75
+ * The name of the server.
76
+ */
77
+ serverName: pulumi.Input<string>;
78
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Gets information about a configuration of server.
10
+ */
11
+ function getConfiguration(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("azure-native:dbformysql/v20171201:getConfiguration", {
14
+ "configurationName": args.configurationName,
15
+ "resourceGroupName": args.resourceGroupName,
16
+ "serverName": args.serverName,
17
+ }, opts);
18
+ }
19
+ exports.getConfiguration = getConfiguration;
20
+ /**
21
+ * Gets information about a configuration of server.
22
+ */
23
+ function getConfigurationOutput(args, opts) {
24
+ return pulumi.output(args).apply((a) => getConfiguration(a, opts));
25
+ }
26
+ exports.getConfigurationOutput = getConfigurationOutput;
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Q29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RiZm9ybXlzcWwvdjIwMTcxMjAxL2dldENvbmZpZ3VyYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFDekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsU0FBZ0IsZ0JBQWdCLENBQUMsSUFBMEIsRUFBRSxJQUEyQjtJQUVwRixJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxvREFBb0QsRUFBRTtRQUMvRSxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsWUFBWSxFQUFFLElBQUksQ0FBQyxVQUFVO0tBQ2hDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBUkQsNENBUUM7QUEwREQ7O0dBRUc7QUFDSCxTQUFnQixzQkFBc0IsQ0FBQyxJQUFnQyxFQUFFLElBQTJCO0lBQ2hHLE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFNLEVBQUUsRUFBRSxDQUFDLGdCQUFnQixDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQzNFLENBQUM7QUFGRCx3REFFQyJ9
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Gets information about a database.
4
+ */
5
+ export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseResult>;
6
+ export interface GetDatabaseArgs {
7
+ /**
8
+ * The name of the database.
9
+ */
10
+ databaseName: string;
11
+ /**
12
+ * The name of the resource group. The name is case insensitive.
13
+ */
14
+ resourceGroupName: string;
15
+ /**
16
+ * The name of the server.
17
+ */
18
+ serverName: string;
19
+ }
20
+ /**
21
+ * Represents a Database.
22
+ */
23
+ export interface GetDatabaseResult {
24
+ /**
25
+ * The charset of the database.
26
+ */
27
+ readonly charset?: string;
28
+ /**
29
+ * The collation of the database.
30
+ */
31
+ readonly collation?: string;
32
+ /**
33
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
34
+ */
35
+ readonly id: string;
36
+ /**
37
+ * The name of the resource
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
42
+ */
43
+ readonly type: string;
44
+ }
45
+ /**
46
+ * Gets information about a database.
47
+ */
48
+ export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseResult>;
49
+ export interface GetDatabaseOutputArgs {
50
+ /**
51
+ * The name of the database.
52
+ */
53
+ databaseName: pulumi.Input<string>;
54
+ /**
55
+ * The name of the resource group. The name is case insensitive.
56
+ */
57
+ resourceGroupName: pulumi.Input<string>;
58
+ /**
59
+ * The name of the server.
60
+ */
61
+ serverName: pulumi.Input<string>;
62
+ }