diff --git a/azure-rest-api-specs b/azure-rest-api-specs index e77323387ae0..ec2102330080 160000 --- a/azure-rest-api-specs +++ b/azure-rest-api-specs @@ -1 +1 @@ -Subproject commit e77323387ae041bf21a51ae61bf3a1ce95541a3f +Subproject commit ec2102330080b905b605275c562e47d53a18d56a diff --git a/sdk/dotnet/Devices/Latest/Certificate.cs b/sdk/dotnet/Devices/Latest/Certificate.cs index 2f8b8737f397..8d8c61b086fe 100644 --- a/sdk/dotnet/Devices/Latest/Certificate.cs +++ b/sdk/dotnet/Devices/Latest/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/Latest/IotHubResource.cs b/sdk/dotnet/Devices/Latest/IotHubResource.cs index 322b734bbb85..9f46bc2ff5d4 100644 --- a/sdk/dotnet/Devices/Latest/IotHubResource.cs +++ b/sdk/dotnet/Devices/Latest/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/Latest/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/Latest/IotHubResourceEventHubConsumerGroup.cs index d7a0c1da59b5..fe429523bf2d 100644 --- a/sdk/dotnet/Devices/Latest/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/Latest/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/Latest/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/Latest/PrivateEndpointConnection.cs index 61fafd4a3506..cd10251e999b 100644 --- a/sdk/dotnet/Devices/Latest/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Devices/Latest/PrivateEndpointConnection.cs @@ -61,6 +61,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20160203/IotHubResource.cs b/sdk/dotnet/Devices/V20160203/IotHubResource.cs index a699a46070e1..973a74f5bfba 100644 --- a/sdk/dotnet/Devices/V20160203/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20160203/IotHubResource.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20160203/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20160203/IotHubResourceEventHubConsumerGroup.cs index cb02f0deed9d..e1733f566bd6 100644 --- a/sdk/dotnet/Devices/V20160203/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20160203/IotHubResourceEventHubConsumerGroup.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20170119/IotHubResource.cs b/sdk/dotnet/Devices/V20170119/IotHubResource.cs index ea079fbd440e..10cdb8743336 100644 --- a/sdk/dotnet/Devices/V20170119/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20170119/IotHubResource.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20170119/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20170119/IotHubResourceEventHubConsumerGroup.cs index 5f34b1ef6980..65b15471475d 100644 --- a/sdk/dotnet/Devices/V20170119/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20170119/IotHubResourceEventHubConsumerGroup.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20170701/Certificate.cs b/sdk/dotnet/Devices/V20170701/Certificate.cs index c0d425b5895c..0078442640d1 100644 --- a/sdk/dotnet/Devices/V20170701/Certificate.cs +++ b/sdk/dotnet/Devices/V20170701/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20170701/IotHubResource.cs b/sdk/dotnet/Devices/V20170701/IotHubResource.cs index ebee01125cdf..0ab9ec734c34 100644 --- a/sdk/dotnet/Devices/V20170701/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20170701/IotHubResource.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20170701/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20170701/IotHubResourceEventHubConsumerGroup.cs index 9e9c5f61ac58..faede29c9298 100644 --- a/sdk/dotnet/Devices/V20170701/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20170701/IotHubResourceEventHubConsumerGroup.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180122/Certificate.cs b/sdk/dotnet/Devices/V20180122/Certificate.cs index 20fada5d1d44..1c040f021aa0 100644 --- a/sdk/dotnet/Devices/V20180122/Certificate.cs +++ b/sdk/dotnet/Devices/V20180122/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180122/IotHubResource.cs b/sdk/dotnet/Devices/V20180122/IotHubResource.cs index b33552fc6ec3..b1b5186e8cd1 100644 --- a/sdk/dotnet/Devices/V20180122/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20180122/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180122/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20180122/IotHubResourceEventHubConsumerGroup.cs index 4bcc50e84a9f..f71cd3e3495c 100644 --- a/sdk/dotnet/Devices/V20180122/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20180122/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180401/Certificate.cs b/sdk/dotnet/Devices/V20180401/Certificate.cs index 865278b6299d..535ffe2fc846 100644 --- a/sdk/dotnet/Devices/V20180401/Certificate.cs +++ b/sdk/dotnet/Devices/V20180401/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180401/IotHubResource.cs b/sdk/dotnet/Devices/V20180401/IotHubResource.cs index 2d6a2547df4e..a09548e69a2e 100644 --- a/sdk/dotnet/Devices/V20180401/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20180401/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20180401/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20180401/IotHubResourceEventHubConsumerGroup.cs index c0fa64895118..c4ad7c66b600 100644 --- a/sdk/dotnet/Devices/V20180401/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20180401/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20181201Preview/Certificate.cs b/sdk/dotnet/Devices/V20181201Preview/Certificate.cs index e422c78c0386..01e6bee20799 100644 --- a/sdk/dotnet/Devices/V20181201Preview/Certificate.cs +++ b/sdk/dotnet/Devices/V20181201Preview/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20181201Preview/IotHubResource.cs b/sdk/dotnet/Devices/V20181201Preview/IotHubResource.cs index 8698d895aa42..8d83ebaca21a 100644 --- a/sdk/dotnet/Devices/V20181201Preview/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20181201Preview/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20181201Preview/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20181201Preview/IotHubResourceEventHubConsumerGroup.cs index 58cf8bf1b2e3..b49ff945a7ce 100644 --- a/sdk/dotnet/Devices/V20181201Preview/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20181201Preview/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322/Certificate.cs b/sdk/dotnet/Devices/V20190322/Certificate.cs index afa70ef54323..0966fa473832 100644 --- a/sdk/dotnet/Devices/V20190322/Certificate.cs +++ b/sdk/dotnet/Devices/V20190322/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322/IotHubResource.cs b/sdk/dotnet/Devices/V20190322/IotHubResource.cs index 673f76efc957..0028fabbe64c 100644 --- a/sdk/dotnet/Devices/V20190322/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20190322/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20190322/IotHubResourceEventHubConsumerGroup.cs index 4e0257601880..948e91b98bf6 100644 --- a/sdk/dotnet/Devices/V20190322/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20190322/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322Preview/Certificate.cs b/sdk/dotnet/Devices/V20190322Preview/Certificate.cs index 15a569580ede..f9d2ca03da33 100644 --- a/sdk/dotnet/Devices/V20190322Preview/Certificate.cs +++ b/sdk/dotnet/Devices/V20190322Preview/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322Preview/IotHubResource.cs b/sdk/dotnet/Devices/V20190322Preview/IotHubResource.cs index 0b8a4800c009..781b7473ba04 100644 --- a/sdk/dotnet/Devices/V20190322Preview/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20190322Preview/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190322Preview/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20190322Preview/IotHubResourceEventHubConsumerGroup.cs index 102fb01b51d4..0b6095752bca 100644 --- a/sdk/dotnet/Devices/V20190322Preview/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20190322Preview/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190701Preview/Certificate.cs b/sdk/dotnet/Devices/V20190701Preview/Certificate.cs index 2ceaca303fc8..0f17959b273e 100644 --- a/sdk/dotnet/Devices/V20190701Preview/Certificate.cs +++ b/sdk/dotnet/Devices/V20190701Preview/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190701Preview/IotHubResource.cs b/sdk/dotnet/Devices/V20190701Preview/IotHubResource.cs index dd655ce9dd36..4e27b084889f 100644 --- a/sdk/dotnet/Devices/V20190701Preview/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20190701Preview/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20190701Preview/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20190701Preview/IotHubResourceEventHubConsumerGroup.cs index f12db7336d16..62829166c893 100644 --- a/sdk/dotnet/Devices/V20190701Preview/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20190701Preview/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20191104/Certificate.cs b/sdk/dotnet/Devices/V20191104/Certificate.cs index e61c2e7e4926..7bdaf395805a 100644 --- a/sdk/dotnet/Devices/V20191104/Certificate.cs +++ b/sdk/dotnet/Devices/V20191104/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20191104/IotHubResource.cs b/sdk/dotnet/Devices/V20191104/IotHubResource.cs index 3c3db28eb0e5..f57b1cd0d539 100644 --- a/sdk/dotnet/Devices/V20191104/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20191104/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20191104/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20191104/IotHubResourceEventHubConsumerGroup.cs index 823cde0d97b7..2b25c203d9e4 100644 --- a/sdk/dotnet/Devices/V20191104/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20191104/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200301/Certificate.cs b/sdk/dotnet/Devices/V20200301/Certificate.cs index 1e2acf63495c..0cf747561d2d 100644 --- a/sdk/dotnet/Devices/V20200301/Certificate.cs +++ b/sdk/dotnet/Devices/V20200301/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200301/IotHubResource.cs b/sdk/dotnet/Devices/V20200301/IotHubResource.cs index 2682c4c591d4..1e2cfb2ea08a 100644 --- a/sdk/dotnet/Devices/V20200301/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20200301/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200301/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200301/IotHubResourceEventHubConsumerGroup.cs index 4aed04c471d7..c15b2ae02bfa 100644 --- a/sdk/dotnet/Devices/V20200301/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20200301/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200301/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200301/PrivateEndpointConnection.cs index 8339304f3ede..cfc5c86e7f5a 100644 --- a/sdk/dotnet/Devices/V20200301/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Devices/V20200301/PrivateEndpointConnection.cs @@ -61,6 +61,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200401:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200401/Certificate.cs b/sdk/dotnet/Devices/V20200401/Certificate.cs index 48bf73820797..5314b36237ba 100644 --- a/sdk/dotnet/Devices/V20200401/Certificate.cs +++ b/sdk/dotnet/Devices/V20200401/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200401/IotHubResource.cs b/sdk/dotnet/Devices/V20200401/IotHubResource.cs index 519fbed90355..0944620faf57 100644 --- a/sdk/dotnet/Devices/V20200401/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20200401/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200401/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200401/IotHubResourceEventHubConsumerGroup.cs index e519717232c4..bff114391ffa 100644 --- a/sdk/dotnet/Devices/V20200401/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20200401/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200401/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200401/PrivateEndpointConnection.cs index a07ae3a0b35e..c37ab46423c9 100644 --- a/sdk/dotnet/Devices/V20200401/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Devices/V20200401/PrivateEndpointConnection.cs @@ -61,6 +61,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200615/Certificate.cs b/sdk/dotnet/Devices/V20200615/Certificate.cs index bdcd6c26a983..e660762fe26a 100644 --- a/sdk/dotnet/Devices/V20200615/Certificate.cs +++ b/sdk/dotnet/Devices/V20200615/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200615/IotHubResource.cs b/sdk/dotnet/Devices/V20200615/IotHubResource.cs index 3bf19b79c8f2..245e36bc708d 100644 --- a/sdk/dotnet/Devices/V20200615/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20200615/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200615/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200615/IotHubResourceEventHubConsumerGroup.cs index f3fdb7c0c894..21cc79bac2b2 100644 --- a/sdk/dotnet/Devices/V20200615/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20200615/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200615/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200615/PrivateEndpointConnection.cs index 5e2a562be042..b69600e224df 100644 --- a/sdk/dotnet/Devices/V20200615/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Devices/V20200615/PrivateEndpointConnection.cs @@ -61,6 +61,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200710Preview/Certificate.cs b/sdk/dotnet/Devices/V20200710Preview/Certificate.cs index afe1a7d8ba21..6bd2aafd95fe 100644 --- a/sdk/dotnet/Devices/V20200710Preview/Certificate.cs +++ b/sdk/dotnet/Devices/V20200710Preview/Certificate.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:Certificate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200710Preview/IotHubResource.cs b/sdk/dotnet/Devices/V20200710Preview/IotHubResource.cs index 13d8c6ba18b8..113e77e2590b 100644 --- a/sdk/dotnet/Devices/V20200710Preview/IotHubResource.cs +++ b/sdk/dotnet/Devices/V20200710Preview/IotHubResource.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200710Preview/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200710Preview/IotHubResourceEventHubConsumerGroup.cs index 2ad675e1ab0b..eaeeae2f2735 100644 --- a/sdk/dotnet/Devices/V20200710Preview/IotHubResourceEventHubConsumerGroup.cs +++ b/sdk/dotnet/Devices/V20200710Preview/IotHubResourceEventHubConsumerGroup.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200710Preview/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200710Preview/PrivateEndpointConnection.cs index 2d9e41a5de55..f9bffb2ac582 100644 --- a/sdk/dotnet/Devices/V20200710Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Devices/V20200710Preview/PrivateEndpointConnection.cs @@ -61,6 +61,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azurerm:devices/v20200301:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200401:PrivateEndpointConnection"}, new Pulumi.Alias { Type = "azurerm:devices/v20200615:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Devices/V20200801/Certificate.cs b/sdk/dotnet/Devices/V20200801/Certificate.cs new file mode 100644 index 000000000000..7cdb6c06000b --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Certificate.cs @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + /// + /// The X509 Certificate. + /// + public partial class Certificate : Pulumi.CustomResource + { + /// + /// The entity tag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The name of the certificate. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The description of an X509 CA Certificate. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Certificate resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Certificate(string name, CertificateArgs args, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:Certificate", name, args ?? new CertificateArgs(), MakeResourceOptions(options, "")) + { + } + + private Certificate(string name, Input id, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:Certificate", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azurerm:devices/latest:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20170701:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180122:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180401:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20181201preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190701preview:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20191104:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200301:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200401:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200615:Certificate"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:Certificate"}, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Certificate resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static Certificate Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Certificate(name, id, options); + } + } + + public sealed class CertificateArgs : Pulumi.ResourceArgs + { + /// + /// The name of the certificate + /// + [Input("certificateName", required: true)] + public Input CertificateName { get; set; } = null!; + + /// + /// The description of an X509 CA Certificate. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public CertificateArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/GetCertificate.cs b/sdk/dotnet/Devices/V20200801/GetCertificate.cs new file mode 100644 index 000000000000..9401f10f4460 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/GetCertificate.cs @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class GetCertificate + { + public static Task InvokeAsync(GetCertificateArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:getCertificate", args ?? new GetCertificateArgs(), options.WithVersion()); + } + + + public sealed class GetCertificateArgs : Pulumi.InvokeArgs + { + /// + /// The name of the certificate + /// + [Input("certificateName", required: true)] + public string CertificateName { get; set; } = null!; + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetCertificateArgs() + { + } + } + + + [OutputType] + public sealed class GetCertificateResult + { + /// + /// The entity tag. + /// + public readonly string Etag; + /// + /// The name of the certificate. + /// + public readonly string Name; + /// + /// The description of an X509 CA Certificate. + /// + public readonly Outputs.CertificatePropertiesResponseResult Properties; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetCertificateResult( + string etag, + + string name, + + Outputs.CertificatePropertiesResponseResult properties, + + string type) + { + Etag = etag; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/GetIotHubResource.cs b/sdk/dotnet/Devices/V20200801/GetIotHubResource.cs new file mode 100644 index 000000000000..0904d0de283f --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/GetIotHubResource.cs @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class GetIotHubResource + { + public static Task InvokeAsync(GetIotHubResourceArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:getIotHubResource", args ?? new GetIotHubResourceArgs(), options.WithVersion()); + } + + + public sealed class GetIotHubResourceArgs : Pulumi.InvokeArgs + { + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetIotHubResourceArgs() + { + } + } + + + [OutputType] + public sealed class GetIotHubResourceResult + { + /// + /// The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + /// + public readonly string? Etag; + /// + /// The resource location. + /// + public readonly string Location; + /// + /// The resource name. + /// + public readonly string Name; + /// + /// IotHub properties + /// + public readonly Outputs.IotHubPropertiesResponseResult Properties; + /// + /// IotHub SKU info + /// + public readonly Outputs.IotHubSkuInfoResponseResult Sku; + /// + /// The resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetIotHubResourceResult( + string? etag, + + string location, + + string name, + + Outputs.IotHubPropertiesResponseResult properties, + + Outputs.IotHubSkuInfoResponseResult sku, + + ImmutableDictionary? tags, + + string type) + { + Etag = etag; + Location = location; + Name = name; + Properties = properties; + Sku = sku; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/GetIotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200801/GetIotHubResourceEventHubConsumerGroup.cs new file mode 100644 index 000000000000..9a45b55f4d31 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/GetIotHubResourceEventHubConsumerGroup.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class GetIotHubResourceEventHubConsumerGroup + { + public static Task InvokeAsync(GetIotHubResourceEventHubConsumerGroupArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup", args ?? new GetIotHubResourceEventHubConsumerGroupArgs(), options.WithVersion()); + } + + + public sealed class GetIotHubResourceEventHubConsumerGroupArgs : Pulumi.InvokeArgs + { + /// + /// The name of the Event Hub-compatible endpoint in the IoT hub. + /// + [Input("eventHubEndpointName", required: true)] + public string EventHubEndpointName { get; set; } = null!; + + /// + /// The name of the consumer group to retrieve. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetIotHubResourceEventHubConsumerGroupArgs() + { + } + } + + + [OutputType] + public sealed class GetIotHubResourceEventHubConsumerGroupResult + { + /// + /// The etag. + /// + public readonly string Etag; + /// + /// The Event Hub-compatible consumer group name. + /// + public readonly string Name; + /// + /// The tags. + /// + public readonly ImmutableDictionary Properties; + /// + /// the resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetIotHubResourceEventHubConsumerGroupResult( + string etag, + + string name, + + ImmutableDictionary properties, + + string type) + { + Etag = etag; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/GetPrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200801/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..b90020b08e4c --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/GetPrivateEndpointConnection.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class GetPrivateEndpointConnection + { + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithVersion()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// The resource name. + /// + public readonly string Name; + /// + /// The properties of a private endpoint connection + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponseResult Properties; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string name, + + Outputs.PrivateEndpointConnectionPropertiesResponseResult properties, + + string type) + { + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/CertificatePropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/CertificatePropertiesArgs.cs new file mode 100644 index 000000000000..85aaf8238b44 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/CertificatePropertiesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The description of an X509 CA Certificate. + /// + public sealed class CertificatePropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The certificate content + /// + [Input("certificate")] + public Input? Certificate { get; set; } + + public CertificatePropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/CloudToDevicePropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/CloudToDevicePropertiesArgs.cs new file mode 100644 index 000000000000..3cf465a71a18 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/CloudToDevicePropertiesArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The IoT hub cloud-to-device messaging properties. + /// + public sealed class CloudToDevicePropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + [Input("defaultTtlAsIso8601")] + public Input? DefaultTtlAsIso8601 { get; set; } + + /// + /// The properties of the feedback queue for cloud-to-device messages. + /// + [Input("feedback")] + public Input? Feedback { get; set; } + + /// + /// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + [Input("maxDeliveryCount")] + public Input? MaxDeliveryCount { get; set; } + + public CloudToDevicePropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/EnrichmentPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/EnrichmentPropertiesArgs.cs new file mode 100644 index 000000000000..b536a9faeda4 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/EnrichmentPropertiesArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + /// + public sealed class EnrichmentPropertiesArgs : Pulumi.ResourceArgs + { + [Input("endpointNames", required: true)] + private InputList? _endpointNames; + + /// + /// The list of endpoints for which the enrichment is applied to the message. + /// + public InputList EndpointNames + { + get => _endpointNames ?? (_endpointNames = new InputList()); + set => _endpointNames = value; + } + + /// + /// The key or name for the enrichment property. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The value for the enrichment property. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public EnrichmentPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/EventHubConsumerGroupNameArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/EventHubConsumerGroupNameArgs.cs new file mode 100644 index 000000000000..3eb6809d17da --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/EventHubConsumerGroupNameArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The EventHub consumer group name. + /// + public sealed class EventHubConsumerGroupNameArgs : Pulumi.ResourceArgs + { + /// + /// EventHub consumer group name + /// + [Input("name")] + public Input? Name { get; set; } + + public EventHubConsumerGroupNameArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/EventHubPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/EventHubPropertiesArgs.cs new file mode 100644 index 000000000000..958f804ce4c5 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/EventHubPropertiesArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + /// + public sealed class EventHubPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + /// + [Input("partitionCount")] + public Input? PartitionCount { get; set; } + + /// + /// The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + /// + [Input("retentionTimeInDays")] + public Input? RetentionTimeInDays { get; set; } + + public EventHubPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/FallbackRoutePropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/FallbackRoutePropertiesArgs.cs new file mode 100644 index 000000000000..6287b5cb7972 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/FallbackRoutePropertiesArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + /// + public sealed class FallbackRoutePropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + /// + [Input("condition")] + public Input? Condition { get; set; } + + [Input("endpointNames", required: true)] + private InputList? _endpointNames; + + /// + /// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + /// + public InputList EndpointNames + { + get => _endpointNames ?? (_endpointNames = new InputList()); + set => _endpointNames = value; + } + + /// + /// Used to specify whether the fallback route is enabled. + /// + [Input("isEnabled", required: true)] + public Input IsEnabled { get; set; } = null!; + + /// + /// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The source to which the routing rule is to be applied to. For example, DeviceMessages + /// + [Input("source", required: true)] + public Input Source { get; set; } = null!; + + public FallbackRoutePropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/FeedbackPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/FeedbackPropertiesArgs.cs new file mode 100644 index 000000000000..7f19b047e016 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/FeedbackPropertiesArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of the feedback queue for cloud-to-device messages. + /// + public sealed class FeedbackPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + [Input("lockDurationAsIso8601")] + public Input? LockDurationAsIso8601 { get; set; } + + /// + /// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + [Input("maxDeliveryCount")] + public Input? MaxDeliveryCount { get; set; } + + /// + /// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + [Input("ttlAsIso8601")] + public Input? TtlAsIso8601 { get; set; } + + public FeedbackPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/IotHubPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/IotHubPropertiesArgs.cs new file mode 100644 index 000000000000..9048abccd7c1 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/IotHubPropertiesArgs.cs @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of an IoT hub. + /// + public sealed class IotHubPropertiesArgs : Pulumi.ResourceArgs + { + [Input("authorizationPolicies")] + private InputList? _authorizationPolicies; + + /// + /// The shared access policies you can use to secure a connection to the IoT hub. + /// + public InputList AuthorizationPolicies + { + get => _authorizationPolicies ?? (_authorizationPolicies = new InputList()); + set => _authorizationPolicies = value; + } + + /// + /// The IoT hub cloud-to-device messaging properties. + /// + [Input("cloudToDevice")] + public Input? CloudToDevice { get; set; } + + /// + /// IoT hub comments. + /// + [Input("comments")] + public Input? Comments { get; set; } + + /// + /// If True, file upload notifications are enabled. + /// + [Input("enableFileUploadNotifications")] + public Input? EnableFileUploadNotifications { get; set; } + + [Input("eventHubEndpoints")] + private InputMap? _eventHubEndpoints; + + /// + /// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + /// + public InputMap EventHubEndpoints + { + get => _eventHubEndpoints ?? (_eventHubEndpoints = new InputMap()); + set => _eventHubEndpoints = value; + } + + /// + /// The capabilities and features enabled for the IoT hub. + /// + [Input("features")] + public Input? Features { get; set; } + + [Input("ipFilterRules")] + private InputList? _ipFilterRules; + + /// + /// The IP filter rules. + /// + public InputList IpFilterRules + { + get => _ipFilterRules ?? (_ipFilterRules = new InputList()); + set => _ipFilterRules = value; + } + + [Input("messagingEndpoints")] + private InputMap? _messagingEndpoints; + + /// + /// The messaging endpoint properties for the file upload notification queue. + /// + public InputMap MessagingEndpoints + { + get => _messagingEndpoints ?? (_messagingEndpoints = new InputMap()); + set => _messagingEndpoints = value; + } + + /// + /// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + /// + [Input("minTlsVersion")] + public Input? MinTlsVersion { get; set; } + + [Input("privateEndpointConnections")] + private InputList? _privateEndpointConnections; + + /// + /// Private endpoint connections created on this IotHub + /// + public InputList PrivateEndpointConnections + { + get => _privateEndpointConnections ?? (_privateEndpointConnections = new InputList()); + set => _privateEndpointConnections = value; + } + + /// + /// Whether requests from Public Network are allowed + /// + [Input("publicNetworkAccess")] + public Input? PublicNetworkAccess { get; set; } + + /// + /// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + /// + [Input("routing")] + public Input? Routing { get; set; } + + [Input("storageEndpoints")] + private InputMap? _storageEndpoints; + + /// + /// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + /// + public InputMap StorageEndpoints + { + get => _storageEndpoints ?? (_storageEndpoints = new InputMap()); + set => _storageEndpoints = value; + } + + public IotHubPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/IotHubSkuInfoArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/IotHubSkuInfoArgs.cs new file mode 100644 index 000000000000..c90266e92ddf --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/IotHubSkuInfoArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// Information about the SKU of the IoT hub. + /// + public sealed class IotHubSkuInfoArgs : Pulumi.ResourceArgs + { + /// + /// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// The name of the SKU. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public IotHubSkuInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/IpFilterRuleArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/IpFilterRuleArgs.cs new file mode 100644 index 000000000000..9a960e5b1488 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/IpFilterRuleArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The IP filter rules for the IoT hub. + /// + public sealed class IpFilterRuleArgs : Pulumi.ResourceArgs + { + /// + /// The desired action for requests captured by this rule. + /// + [Input("action", required: true)] + public Input Action { get; set; } = null!; + + /// + /// The name of the IP filter rule. + /// + [Input("filterName", required: true)] + public Input FilterName { get; set; } = null!; + + /// + /// A string that contains the IP address range in CIDR notation for the rule. + /// + [Input("ipMask", required: true)] + public Input IpMask { get; set; } = null!; + + public IpFilterRuleArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/MessagingEndpointPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/MessagingEndpointPropertiesArgs.cs new file mode 100644 index 000000000000..9d39397f5c80 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/MessagingEndpointPropertiesArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of the messaging endpoints used by this IoT hub. + /// + public sealed class MessagingEndpointPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + [Input("lockDurationAsIso8601")] + public Input? LockDurationAsIso8601 { get; set; } + + /// + /// The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + [Input("maxDeliveryCount")] + public Input? MaxDeliveryCount { get; set; } + + /// + /// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + [Input("ttlAsIso8601")] + public Input? TtlAsIso8601 { get; set; } + + public MessagingEndpointPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionArgs.cs new file mode 100644 index 000000000000..c55201233b34 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The private endpoint connection of an IotHub + /// + public sealed class PrivateEndpointConnectionArgs : Pulumi.ResourceArgs + { + /// + /// The properties of a private endpoint connection + /// + [Input("properties", required: true)] + public Input Properties { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionPropertiesArgs.cs new file mode 100644 index 000000000000..561c2fed7abd --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/PrivateEndpointConnectionPropertiesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of a private endpoint connection + /// + public sealed class PrivateEndpointConnectionPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The current state of a private endpoint connection + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + public PrivateEndpointConnectionPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/PrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..85eff4b9fd83 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/PrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The current state of a private endpoint connection + /// + public sealed class PrivateLinkServiceConnectionStateArgs : Pulumi.ResourceArgs + { + /// + /// Actions required for a private endpoint connection + /// + [Input("actionsRequired")] + public Input? ActionsRequired { get; set; } + + /// + /// The description for the current state of a private endpoint connection + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// The status of a private endpoint connection + /// + [Input("status", required: true)] + public Input Status { get; set; } = null!; + + public PrivateLinkServiceConnectionStateArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutePropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutePropertiesArgs.cs new file mode 100644 index 000000000000..524114cd2d23 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutePropertiesArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of a routing rule that your IoT hub uses to route messages to endpoints. + /// + public sealed class RoutePropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + /// + [Input("condition")] + public Input? Condition { get; set; } + + [Input("endpointNames", required: true)] + private InputList? _endpointNames; + + /// + /// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + /// + public InputList EndpointNames + { + get => _endpointNames ?? (_endpointNames = new InputList()); + set => _endpointNames = value; + } + + /// + /// Used to specify whether a route is enabled. + /// + [Input("isEnabled", required: true)] + public Input IsEnabled { get; set; } = null!; + + /// + /// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The source that the routing rule is to be applied to, such as DeviceMessages. + /// + [Input("source", required: true)] + public Input Source { get; set; } = null!; + + public RoutePropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingEndpointsArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingEndpointsArgs.cs new file mode 100644 index 000000000000..dcf923acd752 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingEndpointsArgs.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + /// + public sealed class RoutingEndpointsArgs : Pulumi.ResourceArgs + { + [Input("eventHubs")] + private InputList? _eventHubs; + + /// + /// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + /// + public InputList EventHubs + { + get => _eventHubs ?? (_eventHubs = new InputList()); + set => _eventHubs = value; + } + + [Input("serviceBusQueues")] + private InputList? _serviceBusQueues; + + /// + /// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + /// + public InputList ServiceBusQueues + { + get => _serviceBusQueues ?? (_serviceBusQueues = new InputList()); + set => _serviceBusQueues = value; + } + + [Input("serviceBusTopics")] + private InputList? _serviceBusTopics; + + /// + /// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + /// + public InputList ServiceBusTopics + { + get => _serviceBusTopics ?? (_serviceBusTopics = new InputList()); + set => _serviceBusTopics = value; + } + + [Input("storageContainers")] + private InputList? _storageContainers; + + /// + /// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + /// + public InputList StorageContainers + { + get => _storageContainers ?? (_storageContainers = new InputList()); + set => _storageContainers = value; + } + + public RoutingEndpointsArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingEventHubPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingEventHubPropertiesArgs.cs new file mode 100644 index 000000000000..312ddf447625 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingEventHubPropertiesArgs.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties related to an event hub endpoint. + /// + public sealed class RoutingEventHubPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Method used to authenticate against the event hub endpoint + /// + [Input("authenticationType")] + public Input? AuthenticationType { get; set; } + + /// + /// The connection string of the event hub endpoint. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + /// + /// The url of the event hub endpoint. It must include the protocol sb:// + /// + [Input("endpointUri")] + public Input? EndpointUri { get; set; } + + /// + /// Event hub name on the event hub namespace + /// + [Input("entityPath")] + public Input? EntityPath { get; set; } + + /// + /// Id of the event hub endpoint + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name of the resource group of the event hub endpoint. + /// + [Input("resourceGroup")] + public Input? ResourceGroup { get; set; } + + /// + /// The subscription identifier of the event hub endpoint. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public RoutingEventHubPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingPropertiesArgs.cs new file mode 100644 index 000000000000..7d7f24fef6ba --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingPropertiesArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + /// + public sealed class RoutingPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + /// + [Input("endpoints")] + public Input? Endpoints { get; set; } + + [Input("enrichments")] + private InputList? _enrichments; + + /// + /// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + /// + public InputList Enrichments + { + get => _enrichments ?? (_enrichments = new InputList()); + set => _enrichments = value; + } + + /// + /// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + /// + [Input("fallbackRoute")] + public Input? FallbackRoute { get; set; } + + [Input("routes")] + private InputList? _routes; + + /// + /// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + /// + public InputList Routes + { + get => _routes ?? (_routes = new InputList()); + set => _routes = value; + } + + public RoutingPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusQueueEndpointPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusQueueEndpointPropertiesArgs.cs new file mode 100644 index 000000000000..d5ea5304b9e8 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusQueueEndpointPropertiesArgs.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties related to service bus queue endpoint types. + /// + public sealed class RoutingServiceBusQueueEndpointPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Method used to authenticate against the service bus queue endpoint + /// + [Input("authenticationType")] + public Input? AuthenticationType { get; set; } + + /// + /// The connection string of the service bus queue endpoint. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + /// + /// The url of the service bus queue endpoint. It must include the protocol sb:// + /// + [Input("endpointUri")] + public Input? EndpointUri { get; set; } + + /// + /// Queue name on the service bus namespace + /// + [Input("entityPath")] + public Input? EntityPath { get; set; } + + /// + /// Id of the service bus queue endpoint + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name of the resource group of the service bus queue endpoint. + /// + [Input("resourceGroup")] + public Input? ResourceGroup { get; set; } + + /// + /// The subscription identifier of the service bus queue endpoint. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public RoutingServiceBusQueueEndpointPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusTopicEndpointPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusTopicEndpointPropertiesArgs.cs new file mode 100644 index 000000000000..74e2dabca87b --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingServiceBusTopicEndpointPropertiesArgs.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties related to service bus topic endpoint types. + /// + public sealed class RoutingServiceBusTopicEndpointPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Method used to authenticate against the service bus topic endpoint + /// + [Input("authenticationType")] + public Input? AuthenticationType { get; set; } + + /// + /// The connection string of the service bus topic endpoint. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + /// + /// The url of the service bus topic endpoint. It must include the protocol sb:// + /// + [Input("endpointUri")] + public Input? EndpointUri { get; set; } + + /// + /// Queue name on the service bus topic + /// + [Input("entityPath")] + public Input? EntityPath { get; set; } + + /// + /// Id of the service bus topic endpoint + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name of the resource group of the service bus topic endpoint. + /// + [Input("resourceGroup")] + public Input? ResourceGroup { get; set; } + + /// + /// The subscription identifier of the service bus topic endpoint. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public RoutingServiceBusTopicEndpointPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/RoutingStorageContainerPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/RoutingStorageContainerPropertiesArgs.cs new file mode 100644 index 000000000000..79a1c303382f --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/RoutingStorageContainerPropertiesArgs.cs @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties related to a storage container endpoint. + /// + public sealed class RoutingStorageContainerPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Method used to authenticate against the storage endpoint + /// + [Input("authenticationType")] + public Input? AuthenticationType { get; set; } + + /// + /// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + /// + [Input("batchFrequencyInSeconds")] + public Input? BatchFrequencyInSeconds { get; set; } + + /// + /// The connection string of the storage account. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + /// + /// The name of storage container in the storage account. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + /// + [Input("encoding")] + public Input? Encoding { get; set; } + + /// + /// The url of the storage endpoint. It must include the protocol https:// + /// + [Input("endpointUri")] + public Input? EndpointUri { get; set; } + + /// + /// File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + /// + [Input("fileNameFormat")] + public Input? FileNameFormat { get; set; } + + /// + /// Id of the storage container endpoint + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + /// + [Input("maxChunkSizeInBytes")] + public Input? MaxChunkSizeInBytes { get; set; } + + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name of the resource group of the storage account. + /// + [Input("resourceGroup")] + public Input? ResourceGroup { get; set; } + + /// + /// The subscription identifier of the storage account. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public RoutingStorageContainerPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/SharedAccessSignatureAuthorizationRuleArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/SharedAccessSignatureAuthorizationRuleArgs.cs new file mode 100644 index 000000000000..edefa25aacf7 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/SharedAccessSignatureAuthorizationRuleArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of an IoT hub shared access policy. + /// + public sealed class SharedAccessSignatureAuthorizationRuleArgs : Pulumi.ResourceArgs + { + /// + /// The name of the shared access policy. + /// + [Input("keyName", required: true)] + public Input KeyName { get; set; } = null!; + + /// + /// The primary key. + /// + [Input("primaryKey")] + public Input? PrimaryKey { get; set; } + + /// + /// The permissions assigned to the shared access policy. + /// + [Input("rights", required: true)] + public Input Rights { get; set; } = null!; + + /// + /// The secondary key. + /// + [Input("secondaryKey")] + public Input? SecondaryKey { get; set; } + + public SharedAccessSignatureAuthorizationRuleArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Inputs/StorageEndpointPropertiesArgs.cs b/sdk/dotnet/Devices/V20200801/Inputs/StorageEndpointPropertiesArgs.cs new file mode 100644 index 000000000000..4358bb95ca03 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Inputs/StorageEndpointPropertiesArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Inputs +{ + + /// + /// The properties of the Azure Storage endpoint for file upload. + /// + public sealed class StorageEndpointPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Specifies authentication type being used for connecting to the storage account. + /// + [Input("authenticationType")] + public Input? AuthenticationType { get; set; } + + /// + /// The connection string for the Azure Storage account to which files are uploaded. + /// + [Input("connectionString", required: true)] + public Input ConnectionString { get; set; } = null!; + + /// + /// The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + /// + [Input("sasTtlAsIso8601")] + public Input? SasTtlAsIso8601 { get; set; } + + public StorageEndpointPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/IotHubResource.cs b/sdk/dotnet/Devices/V20200801/IotHubResource.cs new file mode 100644 index 000000000000..13d5010905f2 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/IotHubResource.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + /// + /// The description of the IoT hub. + /// + public partial class IotHubResource : Pulumi.CustomResource + { + /// + /// The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// IotHub properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// IotHub SKU info + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// The resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IotHubResource resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IotHubResource(string name, IotHubResourceArgs args, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:IotHubResource", name, args ?? new IotHubResourceArgs(), MakeResourceOptions(options, "")) + { + } + + private IotHubResource(string name, Input id, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:IotHubResource", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azurerm:devices/latest:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20160203:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20170119:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20170701:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180122:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180401:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20181201preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190701preview:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20191104:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResource"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResource"}, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IotHubResource resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static IotHubResource Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IotHubResource(name, id, options); + } + } + + public sealed class IotHubResourceArgs : Pulumi.ResourceArgs + { + /// + /// The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + /// + [Input("etag")] + public Input? Etag { get; set; } + + /// + /// The resource location. + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// IotHub properties + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + /// + /// IotHub SKU info + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// The resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public IotHubResourceArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/IotHubResourceEventHubConsumerGroup.cs b/sdk/dotnet/Devices/V20200801/IotHubResourceEventHubConsumerGroup.cs new file mode 100644 index 000000000000..ed1a57c8895e --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/IotHubResourceEventHubConsumerGroup.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + /// + /// The properties of the EventHubConsumerGroupInfo object. + /// + public partial class IotHubResourceEventHubConsumerGroup : Pulumi.CustomResource + { + /// + /// The etag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The Event Hub-compatible consumer group name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The tags. + /// + [Output("properties")] + public Output> Properties { get; private set; } = null!; + + /// + /// the resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IotHubResourceEventHubConsumerGroup resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IotHubResourceEventHubConsumerGroup(string name, IotHubResourceEventHubConsumerGroupArgs args, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup", name, args ?? new IotHubResourceEventHubConsumerGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private IotHubResourceEventHubConsumerGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"}, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IotHubResourceEventHubConsumerGroup resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static IotHubResourceEventHubConsumerGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IotHubResourceEventHubConsumerGroup(name, id, options); + } + } + + public sealed class IotHubResourceEventHubConsumerGroupArgs : Pulumi.ResourceArgs + { + /// + /// The name of the Event Hub-compatible endpoint in the IoT hub. + /// + [Input("eventHubEndpointName", required: true)] + public Input EventHubEndpointName { get; set; } = null!; + + /// + /// The name of the consumer group to add. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The EventHub consumer group name. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public IotHubResourceEventHubConsumerGroupArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeys.cs b/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeys.cs new file mode 100644 index 000000000000..24cf33222a1c --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeys.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class ListIotHubResourceKeys + { + public static Task InvokeAsync(ListIotHubResourceKeysArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:listIotHubResourceKeys", args ?? new ListIotHubResourceKeysArgs(), options.WithVersion()); + } + + + public sealed class ListIotHubResourceKeysArgs : Pulumi.InvokeArgs + { + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public ListIotHubResourceKeysArgs() + { + } + } + + + [OutputType] + public sealed class ListIotHubResourceKeysResult + { + /// + /// The next link. + /// + public readonly string NextLink; + /// + /// The list of shared access policies. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListIotHubResourceKeysResult( + string nextLink, + + ImmutableArray value) + { + NextLink = nextLink; + Value = value; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeysForKeyName.cs b/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeysForKeyName.cs new file mode 100644 index 000000000000..5fa10f87b50b --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/ListIotHubResourceKeysForKeyName.cs @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + public static class ListIotHubResourceKeysForKeyName + { + public static Task InvokeAsync(ListIotHubResourceKeysForKeyNameArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:devices/v20200801:listIotHubResourceKeysForKeyName", args ?? new ListIotHubResourceKeysForKeyNameArgs(), options.WithVersion()); + } + + + public sealed class ListIotHubResourceKeysForKeyNameArgs : Pulumi.InvokeArgs + { + /// + /// The name of the shared access policy. + /// + [Input("keyName", required: true)] + public string KeyName { get; set; } = null!; + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public ListIotHubResourceKeysForKeyNameArgs() + { + } + } + + + [OutputType] + public sealed class ListIotHubResourceKeysForKeyNameResult + { + /// + /// The name of the shared access policy. + /// + public readonly string KeyName; + /// + /// The primary key. + /// + public readonly string? PrimaryKey; + /// + /// The permissions assigned to the shared access policy. + /// + public readonly string Rights; + /// + /// The secondary key. + /// + public readonly string? SecondaryKey; + + [OutputConstructor] + private ListIotHubResourceKeysForKeyNameResult( + string keyName, + + string? primaryKey, + + string rights, + + string? secondaryKey) + { + KeyName = keyName; + PrimaryKey = primaryKey; + Rights = rights; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/CertificatePropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/CertificatePropertiesResponseResult.cs new file mode 100644 index 000000000000..46026e5f605c --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/CertificatePropertiesResponseResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class CertificatePropertiesResponseResult + { + /// + /// The certificate content + /// + public readonly string? Certificate; + /// + /// The certificate's create date and time. + /// + public readonly string Created; + /// + /// The certificate's expiration date and time. + /// + public readonly string Expiry; + /// + /// Determines whether certificate has been verified. + /// + public readonly bool IsVerified; + /// + /// The certificate's subject name. + /// + public readonly string Subject; + /// + /// The certificate's thumbprint. + /// + public readonly string Thumbprint; + /// + /// The certificate's last update date and time. + /// + public readonly string Updated; + + [OutputConstructor] + private CertificatePropertiesResponseResult( + string? certificate, + + string created, + + string expiry, + + bool isVerified, + + string subject, + + string thumbprint, + + string updated) + { + Certificate = certificate; + Created = created; + Expiry = expiry; + IsVerified = isVerified; + Subject = subject; + Thumbprint = thumbprint; + Updated = updated; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/CloudToDevicePropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/CloudToDevicePropertiesResponseResult.cs new file mode 100644 index 000000000000..cf5333973c58 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/CloudToDevicePropertiesResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class CloudToDevicePropertiesResponseResult + { + /// + /// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + public readonly string? DefaultTtlAsIso8601; + /// + /// The properties of the feedback queue for cloud-to-device messages. + /// + public readonly Outputs.FeedbackPropertiesResponseResult? Feedback; + /// + /// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + public readonly int? MaxDeliveryCount; + + [OutputConstructor] + private CloudToDevicePropertiesResponseResult( + string? defaultTtlAsIso8601, + + Outputs.FeedbackPropertiesResponseResult? feedback, + + int? maxDeliveryCount) + { + DefaultTtlAsIso8601 = defaultTtlAsIso8601; + Feedback = feedback; + MaxDeliveryCount = maxDeliveryCount; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/EnrichmentPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/EnrichmentPropertiesResponseResult.cs new file mode 100644 index 000000000000..22c6dc983b12 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/EnrichmentPropertiesResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class EnrichmentPropertiesResponseResult + { + /// + /// The list of endpoints for which the enrichment is applied to the message. + /// + public readonly ImmutableArray EndpointNames; + /// + /// The key or name for the enrichment property. + /// + public readonly string Key; + /// + /// The value for the enrichment property. + /// + public readonly string Value; + + [OutputConstructor] + private EnrichmentPropertiesResponseResult( + ImmutableArray endpointNames, + + string key, + + string value) + { + EndpointNames = endpointNames; + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/EventHubPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/EventHubPropertiesResponseResult.cs new file mode 100644 index 000000000000..79c944446f88 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/EventHubPropertiesResponseResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class EventHubPropertiesResponseResult + { + /// + /// The Event Hub-compatible endpoint. + /// + public readonly string Endpoint; + /// + /// The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + /// + public readonly int? PartitionCount; + /// + /// The partition ids in the Event Hub-compatible endpoint. + /// + public readonly ImmutableArray PartitionIds; + /// + /// The Event Hub-compatible name. + /// + public readonly string Path; + /// + /// The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + /// + public readonly int? RetentionTimeInDays; + + [OutputConstructor] + private EventHubPropertiesResponseResult( + string endpoint, + + int? partitionCount, + + ImmutableArray partitionIds, + + string path, + + int? retentionTimeInDays) + { + Endpoint = endpoint; + PartitionCount = partitionCount; + PartitionIds = partitionIds; + Path = path; + RetentionTimeInDays = retentionTimeInDays; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/FallbackRoutePropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/FallbackRoutePropertiesResponseResult.cs new file mode 100644 index 000000000000..03b0948e81a3 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/FallbackRoutePropertiesResponseResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class FallbackRoutePropertiesResponseResult + { + /// + /// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + /// + public readonly string? Condition; + /// + /// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + /// + public readonly ImmutableArray EndpointNames; + /// + /// Used to specify whether the fallback route is enabled. + /// + public readonly bool IsEnabled; + /// + /// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + /// + public readonly string? Name; + /// + /// The source to which the routing rule is to be applied to. For example, DeviceMessages + /// + public readonly string Source; + + [OutputConstructor] + private FallbackRoutePropertiesResponseResult( + string? condition, + + ImmutableArray endpointNames, + + bool isEnabled, + + string? name, + + string source) + { + Condition = condition; + EndpointNames = endpointNames; + IsEnabled = isEnabled; + Name = name; + Source = source; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/FeedbackPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/FeedbackPropertiesResponseResult.cs new file mode 100644 index 000000000000..e54ef11af292 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/FeedbackPropertiesResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class FeedbackPropertiesResponseResult + { + /// + /// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + public readonly string? LockDurationAsIso8601; + /// + /// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + public readonly int? MaxDeliveryCount; + /// + /// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + /// + public readonly string? TtlAsIso8601; + + [OutputConstructor] + private FeedbackPropertiesResponseResult( + string? lockDurationAsIso8601, + + int? maxDeliveryCount, + + string? ttlAsIso8601) + { + LockDurationAsIso8601 = lockDurationAsIso8601; + MaxDeliveryCount = maxDeliveryCount; + TtlAsIso8601 = ttlAsIso8601; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/IotHubLocationDescriptionResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/IotHubLocationDescriptionResponseResult.cs new file mode 100644 index 000000000000..30607b211473 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/IotHubLocationDescriptionResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class IotHubLocationDescriptionResponseResult + { + /// + /// The name of the Azure region + /// + public readonly string? Location; + /// + /// The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + /// + public readonly string? Role; + + [OutputConstructor] + private IotHubLocationDescriptionResponseResult( + string? location, + + string? role) + { + Location = location; + Role = role; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/IotHubPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/IotHubPropertiesResponseResult.cs new file mode 100644 index 000000000000..17eab73a5908 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/IotHubPropertiesResponseResult.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class IotHubPropertiesResponseResult + { + /// + /// The shared access policies you can use to secure a connection to the IoT hub. + /// + public readonly ImmutableArray AuthorizationPolicies; + /// + /// The IoT hub cloud-to-device messaging properties. + /// + public readonly Outputs.CloudToDevicePropertiesResponseResult? CloudToDevice; + /// + /// IoT hub comments. + /// + public readonly string? Comments; + /// + /// If True, file upload notifications are enabled. + /// + public readonly bool? EnableFileUploadNotifications; + /// + /// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + /// + public readonly ImmutableDictionary? EventHubEndpoints; + /// + /// The capabilities and features enabled for the IoT hub. + /// + public readonly string? Features; + /// + /// The name of the host. + /// + public readonly string HostName; + /// + /// The IP filter rules. + /// + public readonly ImmutableArray IpFilterRules; + /// + /// Primary and secondary location for iot hub + /// + public readonly ImmutableArray Locations; + /// + /// The messaging endpoint properties for the file upload notification queue. + /// + public readonly ImmutableDictionary? MessagingEndpoints; + /// + /// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + /// + public readonly string? MinTlsVersion; + /// + /// Private endpoint connections created on this IotHub + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Whether requests from Public Network are allowed + /// + public readonly string? PublicNetworkAccess; + /// + /// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + /// + public readonly Outputs.RoutingPropertiesResponseResult? Routing; + /// + /// The hub state. + /// + public readonly string State; + /// + /// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + /// + public readonly ImmutableDictionary? StorageEndpoints; + + [OutputConstructor] + private IotHubPropertiesResponseResult( + ImmutableArray authorizationPolicies, + + Outputs.CloudToDevicePropertiesResponseResult? cloudToDevice, + + string? comments, + + bool? enableFileUploadNotifications, + + ImmutableDictionary? eventHubEndpoints, + + string? features, + + string hostName, + + ImmutableArray ipFilterRules, + + ImmutableArray locations, + + ImmutableDictionary? messagingEndpoints, + + string? minTlsVersion, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess, + + Outputs.RoutingPropertiesResponseResult? routing, + + string state, + + ImmutableDictionary? storageEndpoints) + { + AuthorizationPolicies = authorizationPolicies; + CloudToDevice = cloudToDevice; + Comments = comments; + EnableFileUploadNotifications = enableFileUploadNotifications; + EventHubEndpoints = eventHubEndpoints; + Features = features; + HostName = hostName; + IpFilterRules = ipFilterRules; + Locations = locations; + MessagingEndpoints = messagingEndpoints; + MinTlsVersion = minTlsVersion; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + Routing = routing; + State = state; + StorageEndpoints = storageEndpoints; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/IotHubSkuInfoResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/IotHubSkuInfoResponseResult.cs new file mode 100644 index 000000000000..bc372b12ee01 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/IotHubSkuInfoResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class IotHubSkuInfoResponseResult + { + /// + /// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + /// + public readonly int? Capacity; + /// + /// The name of the SKU. + /// + public readonly string Name; + /// + /// The billing tier for the IoT hub. + /// + public readonly string Tier; + + [OutputConstructor] + private IotHubSkuInfoResponseResult( + int? capacity, + + string name, + + string tier) + { + Capacity = capacity; + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/IpFilterRuleResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/IpFilterRuleResponseResult.cs new file mode 100644 index 000000000000..4455db17fe06 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/IpFilterRuleResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class IpFilterRuleResponseResult + { + /// + /// The desired action for requests captured by this rule. + /// + public readonly string Action; + /// + /// The name of the IP filter rule. + /// + public readonly string FilterName; + /// + /// A string that contains the IP address range in CIDR notation for the rule. + /// + public readonly string IpMask; + + [OutputConstructor] + private IpFilterRuleResponseResult( + string action, + + string filterName, + + string ipMask) + { + Action = action; + FilterName = filterName; + IpMask = ipMask; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/MessagingEndpointPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/MessagingEndpointPropertiesResponseResult.cs new file mode 100644 index 000000000000..a421e5135f46 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/MessagingEndpointPropertiesResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class MessagingEndpointPropertiesResponseResult + { + /// + /// The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + public readonly string? LockDurationAsIso8601; + /// + /// The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + public readonly int? MaxDeliveryCount; + /// + /// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + /// + public readonly string? TtlAsIso8601; + + [OutputConstructor] + private MessagingEndpointPropertiesResponseResult( + string? lockDurationAsIso8601, + + int? maxDeliveryCount, + + string? ttlAsIso8601) + { + LockDurationAsIso8601 = lockDurationAsIso8601; + MaxDeliveryCount = maxDeliveryCount; + TtlAsIso8601 = ttlAsIso8601; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionPropertiesResponseResult.cs new file mode 100644 index 000000000000..ba8a63291b97 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionPropertiesResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class PrivateEndpointConnectionPropertiesResponseResult + { + /// + /// The private endpoint property of a private endpoint connection + /// + public readonly Outputs.PrivateEndpointResponseResult? PrivateEndpoint; + /// + /// The current state of a private endpoint connection + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponseResult PrivateLinkServiceConnectionState; + + [OutputConstructor] + private PrivateEndpointConnectionPropertiesResponseResult( + Outputs.PrivateEndpointResponseResult? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponseResult privateLinkServiceConnectionState) + { + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionResponseResult.cs new file mode 100644 index 000000000000..ef0074405336 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointConnectionResponseResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class PrivateEndpointConnectionResponseResult + { + /// + /// The resource identifier. + /// + public readonly string Id; + /// + /// The resource name. + /// + public readonly string Name; + /// + /// The properties of a private endpoint connection + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponseResult Properties; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponseResult( + string id, + + string name, + + Outputs.PrivateEndpointConnectionPropertiesResponseResult properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointResponseResult.cs new file mode 100644 index 000000000000..774b2350b0e3 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointResponseResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class PrivateEndpointResponseResult + { + /// + /// The resource identifier. + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponseResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/PrivateLinkServiceConnectionStateResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/PrivateLinkServiceConnectionStateResponseResult.cs new file mode 100644 index 000000000000..809037b806dc --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/PrivateLinkServiceConnectionStateResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponseResult + { + /// + /// Actions required for a private endpoint connection + /// + public readonly string? ActionsRequired; + /// + /// The description for the current state of a private endpoint connection + /// + public readonly string Description; + /// + /// The status of a private endpoint connection + /// + public readonly string Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponseResult( + string? actionsRequired, + + string description, + + string status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutePropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutePropertiesResponseResult.cs new file mode 100644 index 000000000000..573bb0d8575d --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutePropertiesResponseResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutePropertiesResponseResult + { + /// + /// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + /// + public readonly string? Condition; + /// + /// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + /// + public readonly ImmutableArray EndpointNames; + /// + /// Used to specify whether a route is enabled. + /// + public readonly bool IsEnabled; + /// + /// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + /// + public readonly string Name; + /// + /// The source that the routing rule is to be applied to, such as DeviceMessages. + /// + public readonly string Source; + + [OutputConstructor] + private RoutePropertiesResponseResult( + string? condition, + + ImmutableArray endpointNames, + + bool isEnabled, + + string name, + + string source) + { + Condition = condition; + EndpointNames = endpointNames; + IsEnabled = isEnabled; + Name = name; + Source = source; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingEndpointsResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingEndpointsResponseResult.cs new file mode 100644 index 000000000000..9d18aa755267 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingEndpointsResponseResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingEndpointsResponseResult + { + /// + /// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + /// + public readonly ImmutableArray EventHubs; + /// + /// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + /// + public readonly ImmutableArray ServiceBusQueues; + /// + /// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + /// + public readonly ImmutableArray ServiceBusTopics; + /// + /// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + /// + public readonly ImmutableArray StorageContainers; + + [OutputConstructor] + private RoutingEndpointsResponseResult( + ImmutableArray eventHubs, + + ImmutableArray serviceBusQueues, + + ImmutableArray serviceBusTopics, + + ImmutableArray storageContainers) + { + EventHubs = eventHubs; + ServiceBusQueues = serviceBusQueues; + ServiceBusTopics = serviceBusTopics; + StorageContainers = storageContainers; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingEventHubPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingEventHubPropertiesResponseResult.cs new file mode 100644 index 000000000000..8a0a24adc643 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingEventHubPropertiesResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingEventHubPropertiesResponseResult + { + /// + /// Method used to authenticate against the event hub endpoint + /// + public readonly string? AuthenticationType; + /// + /// The connection string of the event hub endpoint. + /// + public readonly string? ConnectionString; + /// + /// The url of the event hub endpoint. It must include the protocol sb:// + /// + public readonly string? EndpointUri; + /// + /// Event hub name on the event hub namespace + /// + public readonly string? EntityPath; + /// + /// Id of the event hub endpoint + /// + public readonly string? Id; + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + /// + public readonly string Name; + /// + /// The name of the resource group of the event hub endpoint. + /// + public readonly string? ResourceGroup; + /// + /// The subscription identifier of the event hub endpoint. + /// + public readonly string? SubscriptionId; + + [OutputConstructor] + private RoutingEventHubPropertiesResponseResult( + string? authenticationType, + + string? connectionString, + + string? endpointUri, + + string? entityPath, + + string? id, + + string name, + + string? resourceGroup, + + string? subscriptionId) + { + AuthenticationType = authenticationType; + ConnectionString = connectionString; + EndpointUri = endpointUri; + EntityPath = entityPath; + Id = id; + Name = name; + ResourceGroup = resourceGroup; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingPropertiesResponseResult.cs new file mode 100644 index 000000000000..2a0897745b0f --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingPropertiesResponseResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingPropertiesResponseResult + { + /// + /// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + /// + public readonly Outputs.RoutingEndpointsResponseResult? Endpoints; + /// + /// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + /// + public readonly ImmutableArray Enrichments; + /// + /// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + /// + public readonly Outputs.FallbackRoutePropertiesResponseResult? FallbackRoute; + /// + /// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + /// + public readonly ImmutableArray Routes; + + [OutputConstructor] + private RoutingPropertiesResponseResult( + Outputs.RoutingEndpointsResponseResult? endpoints, + + ImmutableArray enrichments, + + Outputs.FallbackRoutePropertiesResponseResult? fallbackRoute, + + ImmutableArray routes) + { + Endpoints = endpoints; + Enrichments = enrichments; + FallbackRoute = fallbackRoute; + Routes = routes; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusQueueEndpointPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusQueueEndpointPropertiesResponseResult.cs new file mode 100644 index 000000000000..0083a9056397 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusQueueEndpointPropertiesResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingServiceBusQueueEndpointPropertiesResponseResult + { + /// + /// Method used to authenticate against the service bus queue endpoint + /// + public readonly string? AuthenticationType; + /// + /// The connection string of the service bus queue endpoint. + /// + public readonly string? ConnectionString; + /// + /// The url of the service bus queue endpoint. It must include the protocol sb:// + /// + public readonly string? EndpointUri; + /// + /// Queue name on the service bus namespace + /// + public readonly string? EntityPath; + /// + /// Id of the service bus queue endpoint + /// + public readonly string? Id; + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + /// + public readonly string Name; + /// + /// The name of the resource group of the service bus queue endpoint. + /// + public readonly string? ResourceGroup; + /// + /// The subscription identifier of the service bus queue endpoint. + /// + public readonly string? SubscriptionId; + + [OutputConstructor] + private RoutingServiceBusQueueEndpointPropertiesResponseResult( + string? authenticationType, + + string? connectionString, + + string? endpointUri, + + string? entityPath, + + string? id, + + string name, + + string? resourceGroup, + + string? subscriptionId) + { + AuthenticationType = authenticationType; + ConnectionString = connectionString; + EndpointUri = endpointUri; + EntityPath = entityPath; + Id = id; + Name = name; + ResourceGroup = resourceGroup; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusTopicEndpointPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusTopicEndpointPropertiesResponseResult.cs new file mode 100644 index 000000000000..e571cdea8da7 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingServiceBusTopicEndpointPropertiesResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingServiceBusTopicEndpointPropertiesResponseResult + { + /// + /// Method used to authenticate against the service bus topic endpoint + /// + public readonly string? AuthenticationType; + /// + /// The connection string of the service bus topic endpoint. + /// + public readonly string? ConnectionString; + /// + /// The url of the service bus topic endpoint. It must include the protocol sb:// + /// + public readonly string? EndpointUri; + /// + /// Queue name on the service bus topic + /// + public readonly string? EntityPath; + /// + /// Id of the service bus topic endpoint + /// + public readonly string? Id; + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + /// + public readonly string Name; + /// + /// The name of the resource group of the service bus topic endpoint. + /// + public readonly string? ResourceGroup; + /// + /// The subscription identifier of the service bus topic endpoint. + /// + public readonly string? SubscriptionId; + + [OutputConstructor] + private RoutingServiceBusTopicEndpointPropertiesResponseResult( + string? authenticationType, + + string? connectionString, + + string? endpointUri, + + string? entityPath, + + string? id, + + string name, + + string? resourceGroup, + + string? subscriptionId) + { + AuthenticationType = authenticationType; + ConnectionString = connectionString; + EndpointUri = endpointUri; + EntityPath = entityPath; + Id = id; + Name = name; + ResourceGroup = resourceGroup; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/RoutingStorageContainerPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/RoutingStorageContainerPropertiesResponseResult.cs new file mode 100644 index 000000000000..ec2f47b14485 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/RoutingStorageContainerPropertiesResponseResult.cs @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class RoutingStorageContainerPropertiesResponseResult + { + /// + /// Method used to authenticate against the storage endpoint + /// + public readonly string? AuthenticationType; + /// + /// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + /// + public readonly int? BatchFrequencyInSeconds; + /// + /// The connection string of the storage account. + /// + public readonly string? ConnectionString; + /// + /// The name of storage container in the storage account. + /// + public readonly string ContainerName; + /// + /// Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + /// + public readonly string? Encoding; + /// + /// The url of the storage endpoint. It must include the protocol https:// + /// + public readonly string? EndpointUri; + /// + /// File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + /// + public readonly string? FileNameFormat; + /// + /// Id of the storage container endpoint + /// + public readonly string? Id; + /// + /// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + /// + public readonly int? MaxChunkSizeInBytes; + /// + /// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + /// + public readonly string Name; + /// + /// The name of the resource group of the storage account. + /// + public readonly string? ResourceGroup; + /// + /// The subscription identifier of the storage account. + /// + public readonly string? SubscriptionId; + + [OutputConstructor] + private RoutingStorageContainerPropertiesResponseResult( + string? authenticationType, + + int? batchFrequencyInSeconds, + + string? connectionString, + + string containerName, + + string? encoding, + + string? endpointUri, + + string? fileNameFormat, + + string? id, + + int? maxChunkSizeInBytes, + + string name, + + string? resourceGroup, + + string? subscriptionId) + { + AuthenticationType = authenticationType; + BatchFrequencyInSeconds = batchFrequencyInSeconds; + ConnectionString = connectionString; + ContainerName = containerName; + Encoding = encoding; + EndpointUri = endpointUri; + FileNameFormat = fileNameFormat; + Id = id; + MaxChunkSizeInBytes = maxChunkSizeInBytes; + Name = name; + ResourceGroup = resourceGroup; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/SharedAccessSignatureAuthorizationRuleResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/SharedAccessSignatureAuthorizationRuleResponseResult.cs new file mode 100644 index 000000000000..7c12fda0dad8 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/SharedAccessSignatureAuthorizationRuleResponseResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class SharedAccessSignatureAuthorizationRuleResponseResult + { + /// + /// The name of the shared access policy. + /// + public readonly string KeyName; + /// + /// The primary key. + /// + public readonly string? PrimaryKey; + /// + /// The permissions assigned to the shared access policy. + /// + public readonly string Rights; + /// + /// The secondary key. + /// + public readonly string? SecondaryKey; + + [OutputConstructor] + private SharedAccessSignatureAuthorizationRuleResponseResult( + string keyName, + + string? primaryKey, + + string rights, + + string? secondaryKey) + { + KeyName = keyName; + PrimaryKey = primaryKey; + Rights = rights; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/Outputs/StorageEndpointPropertiesResponseResult.cs b/sdk/dotnet/Devices/V20200801/Outputs/StorageEndpointPropertiesResponseResult.cs new file mode 100644 index 000000000000..6ee2900f9b49 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/Outputs/StorageEndpointPropertiesResponseResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801.Outputs +{ + + [OutputType] + public sealed class StorageEndpointPropertiesResponseResult + { + /// + /// Specifies authentication type being used for connecting to the storage account. + /// + public readonly string? AuthenticationType; + /// + /// The connection string for the Azure Storage account to which files are uploaded. + /// + public readonly string ConnectionString; + /// + /// The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + /// + public readonly string ContainerName; + /// + /// The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + /// + public readonly string? SasTtlAsIso8601; + + [OutputConstructor] + private StorageEndpointPropertiesResponseResult( + string? authenticationType, + + string connectionString, + + string containerName, + + string? sasTtlAsIso8601) + { + AuthenticationType = authenticationType; + ConnectionString = connectionString; + ContainerName = containerName; + SasTtlAsIso8601 = sasTtlAsIso8601; + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/PrivateEndpointConnection.cs b/sdk/dotnet/Devices/V20200801/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..de004a6adda8 --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/PrivateEndpointConnection.cs @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.Devices.V20200801 +{ + /// + /// The private endpoint connection of an IotHub + /// + public partial class PrivateEndpointConnection : Pulumi.CustomResource + { + /// + /// The resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The properties of a private endpoint connection + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azurerm:devices/v20200801:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azurerm:devices/latest:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200301:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200401:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200615:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azurerm:devices/v20200710preview:PrivateEndpointConnection"}, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing PrivateEndpointConnection resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : Pulumi.ResourceArgs + { + /// + /// The name of the private endpoint connection + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The properties of a private endpoint connection + /// + [Input("properties", required: true)] + public Input Properties { get; set; } = null!; + + /// + /// The name of the resource group that contains the IoT hub. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the IoT hub. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + } +} diff --git a/sdk/dotnet/Devices/V20200801/README.md b/sdk/dotnet/Devices/V20200801/README.md new file mode 100644 index 000000000000..8d4df9d51c7c --- /dev/null +++ b/sdk/dotnet/Devices/V20200801/README.md @@ -0,0 +1 @@ +A Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewArgs.cs b/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewArgs.cs deleted file mode 100644 index 50bf3a4b9070..000000000000 --- a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewArgs.cs +++ /dev/null @@ -1,46 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.Latest.Inputs -{ - - /// - /// Describes the Machine Extension Instance View. - /// - public sealed class MachineExtensionInstanceViewArgs : Pulumi.ResourceArgs - { - /// - /// The machine extension name. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Instance view status. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Specifies the type of the extension; an example is "CustomScriptExtension". - /// - [Input("type")] - public Input? Type { get; set; } - - /// - /// Specifies the version of the script handler. - /// - [Input("typeHandlerVersion")] - public Input? TypeHandlerVersion { get; set; } - - public MachineExtensionInstanceViewArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewStatusArgs.cs b/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewStatusArgs.cs deleted file mode 100644 index 8659fe29dbc7..000000000000 --- a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionInstanceViewStatusArgs.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.Latest.Inputs -{ - - /// - /// Instance view status. - /// - public sealed class MachineExtensionInstanceViewStatusArgs : Pulumi.ResourceArgs - { - /// - /// The status code. - /// - [Input("code")] - public Input? Code { get; set; } - - /// - /// The short localizable label for the status. - /// - [Input("displayStatus")] - public Input? DisplayStatus { get; set; } - - /// - /// The level code. - /// - [Input("level")] - public Input? Level { get; set; } - - /// - /// The detailed status message, including for alerts and error messages. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The time of the status. - /// - [Input("time")] - public Input? Time { get; set; } - - public MachineExtensionInstanceViewStatusArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs b/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs deleted file mode 100644 index 80d98f93c760..000000000000 --- a/sdk/dotnet/HybridCompute/Latest/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs +++ /dev/null @@ -1,46 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.Latest.Inputs -{ - - /// - /// The machine extension instance view. - /// - public sealed class MachineExtensionPropertiesInstanceViewArgs : Pulumi.ResourceArgs - { - /// - /// The machine extension name. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Instance view status. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Specifies the type of the extension; an example is "CustomScriptExtension". - /// - [Input("type")] - public Input? Type { get; set; } - - /// - /// Specifies the version of the script handler. - /// - [Input("typeHandlerVersion")] - public Input? TypeHandlerVersion { get; set; } - - public MachineExtensionPropertiesInstanceViewArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/Latest/Machine.cs b/sdk/dotnet/HybridCompute/Latest/Machine.cs index b1c1df2acca3..ecce21fa5318 100644 --- a/sdk/dotnet/HybridCompute/Latest/Machine.cs +++ b/sdk/dotnet/HybridCompute/Latest/Machine.cs @@ -215,18 +215,6 @@ public sealed class MachineArgs : Pulumi.ResourceArgs [Input("clientPublicKey")] public Input? ClientPublicKey { get; set; } - [Input("extensions")] - private InputList? _extensions; - - /// - /// Machine Extensions information - /// - public InputList Extensions - { - get => _extensions ?? (_extensions = new InputList()); - set => _extensions = value; - } - [Input("identity")] public Input? Identity { get; set; } diff --git a/sdk/dotnet/HybridCompute/Latest/MachineExtension.cs b/sdk/dotnet/HybridCompute/Latest/MachineExtension.cs index f18260b174f4..6c8e04da9002 100644 --- a/sdk/dotnet/HybridCompute/Latest/MachineExtension.cs +++ b/sdk/dotnet/HybridCompute/Latest/MachineExtension.cs @@ -157,12 +157,6 @@ public sealed class MachineExtensionArgs : Pulumi.ResourceArgs [Input("forceUpdateTag")] public Input? ForceUpdateTag { get; set; } - /// - /// The machine extension instance view. - /// - [Input("instanceView")] - public Input? InstanceView { get; set; } - /// /// The geo-location where the resource lives /// diff --git a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseResult.cs b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseResult.cs index ef74f86e7c38..7cfb7c8dfdce 100644 --- a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseResult.cs +++ b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseResult.cs @@ -16,7 +16,7 @@ public sealed class MachineExtensionInstanceViewResponseResult /// /// The machine extension name. /// - public readonly string? Name; + public readonly string Name; /// /// Instance view status. /// @@ -24,21 +24,21 @@ public sealed class MachineExtensionInstanceViewResponseResult /// /// Specifies the type of the extension; an example is "CustomScriptExtension". /// - public readonly string? Type; + public readonly string Type; /// /// Specifies the version of the script handler. /// - public readonly string? TypeHandlerVersion; + public readonly string TypeHandlerVersion; [OutputConstructor] private MachineExtensionInstanceViewResponseResult( - string? name, + string name, Outputs.MachineExtensionInstanceViewResponseStatusResult? status, - string? type, + string type, - string? typeHandlerVersion) + string typeHandlerVersion) { Name = name; Status = status; diff --git a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs index db7f1576a77b..f6ff55b70081 100644 --- a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs +++ b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs @@ -16,35 +16,35 @@ public sealed class MachineExtensionInstanceViewResponseStatusResult /// /// The status code. /// - public readonly string? Code; + public readonly string Code; /// /// The short localizable label for the status. /// - public readonly string? DisplayStatus; + public readonly string DisplayStatus; /// /// The level code. /// - public readonly string? Level; + public readonly string Level; /// /// The detailed status message, including for alerts and error messages. /// - public readonly string? Message; + public readonly string Message; /// /// The time of the status. /// - public readonly string? Time; + public readonly string Time; [OutputConstructor] private MachineExtensionInstanceViewResponseStatusResult( - string? code, + string code, - string? displayStatus, + string displayStatus, - string? level, + string level, - string? message, + string message, - string? time) + string time) { Code = code; DisplayStatus = displayStatus; diff --git a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs index de701f955910..8f46ab536a16 100644 --- a/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs +++ b/sdk/dotnet/HybridCompute/Latest/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs @@ -16,7 +16,7 @@ public sealed class MachineExtensionPropertiesResponseInstanceViewResult /// /// The machine extension name. /// - public readonly string? Name; + public readonly string Name; /// /// Instance view status. /// @@ -24,21 +24,21 @@ public sealed class MachineExtensionPropertiesResponseInstanceViewResult /// /// Specifies the type of the extension; an example is "CustomScriptExtension". /// - public readonly string? Type; + public readonly string Type; /// /// Specifies the version of the script handler. /// - public readonly string? TypeHandlerVersion; + public readonly string TypeHandlerVersion; [OutputConstructor] private MachineExtensionPropertiesResponseInstanceViewResult( - string? name, + string name, Outputs.MachineExtensionInstanceViewResponseStatusResult? status, - string? type, + string type, - string? typeHandlerVersion) + string typeHandlerVersion) { Name = name; Status = status; diff --git a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewArgs.cs b/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewArgs.cs deleted file mode 100644 index 22780de709d1..000000000000 --- a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewArgs.cs +++ /dev/null @@ -1,46 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.V20200802.Inputs -{ - - /// - /// Describes the Machine Extension Instance View. - /// - public sealed class MachineExtensionInstanceViewArgs : Pulumi.ResourceArgs - { - /// - /// The machine extension name. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Instance view status. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Specifies the type of the extension; an example is "CustomScriptExtension". - /// - [Input("type")] - public Input? Type { get; set; } - - /// - /// Specifies the version of the script handler. - /// - [Input("typeHandlerVersion")] - public Input? TypeHandlerVersion { get; set; } - - public MachineExtensionInstanceViewArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewStatusArgs.cs b/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewStatusArgs.cs deleted file mode 100644 index 1d2bb19decac..000000000000 --- a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionInstanceViewStatusArgs.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.V20200802.Inputs -{ - - /// - /// Instance view status. - /// - public sealed class MachineExtensionInstanceViewStatusArgs : Pulumi.ResourceArgs - { - /// - /// The status code. - /// - [Input("code")] - public Input? Code { get; set; } - - /// - /// The short localizable label for the status. - /// - [Input("displayStatus")] - public Input? DisplayStatus { get; set; } - - /// - /// The level code. - /// - [Input("level")] - public Input? Level { get; set; } - - /// - /// The detailed status message, including for alerts and error messages. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The time of the status. - /// - [Input("time")] - public Input? Time { get; set; } - - public MachineExtensionInstanceViewStatusArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs b/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs deleted file mode 100644 index 0a7a26c58abb..000000000000 --- a/sdk/dotnet/HybridCompute/V20200802/Inputs/MachineExtensionPropertiesInstanceViewArgs.cs +++ /dev/null @@ -1,46 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi SDK Generator. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.AzureRM.HybridCompute.V20200802.Inputs -{ - - /// - /// The machine extension instance view. - /// - public sealed class MachineExtensionPropertiesInstanceViewArgs : Pulumi.ResourceArgs - { - /// - /// The machine extension name. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Instance view status. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Specifies the type of the extension; an example is "CustomScriptExtension". - /// - [Input("type")] - public Input? Type { get; set; } - - /// - /// Specifies the version of the script handler. - /// - [Input("typeHandlerVersion")] - public Input? TypeHandlerVersion { get; set; } - - public MachineExtensionPropertiesInstanceViewArgs() - { - } - } -} diff --git a/sdk/dotnet/HybridCompute/V20200802/Machine.cs b/sdk/dotnet/HybridCompute/V20200802/Machine.cs index c8e8c289ce68..40b118677562 100644 --- a/sdk/dotnet/HybridCompute/V20200802/Machine.cs +++ b/sdk/dotnet/HybridCompute/V20200802/Machine.cs @@ -215,18 +215,6 @@ public sealed class MachineArgs : Pulumi.ResourceArgs [Input("clientPublicKey")] public Input? ClientPublicKey { get; set; } - [Input("extensions")] - private InputList? _extensions; - - /// - /// Machine Extensions information - /// - public InputList Extensions - { - get => _extensions ?? (_extensions = new InputList()); - set => _extensions = value; - } - [Input("identity")] public Input? Identity { get; set; } diff --git a/sdk/dotnet/HybridCompute/V20200802/MachineExtension.cs b/sdk/dotnet/HybridCompute/V20200802/MachineExtension.cs index 0bb57c678f79..853baadc837b 100644 --- a/sdk/dotnet/HybridCompute/V20200802/MachineExtension.cs +++ b/sdk/dotnet/HybridCompute/V20200802/MachineExtension.cs @@ -157,12 +157,6 @@ public sealed class MachineExtensionArgs : Pulumi.ResourceArgs [Input("forceUpdateTag")] public Input? ForceUpdateTag { get; set; } - /// - /// The machine extension instance view. - /// - [Input("instanceView")] - public Input? InstanceView { get; set; } - /// /// The geo-location where the resource lives /// diff --git a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseResult.cs b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseResult.cs index 7e1cae8922a2..046e6c387775 100644 --- a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseResult.cs +++ b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseResult.cs @@ -16,7 +16,7 @@ public sealed class MachineExtensionInstanceViewResponseResult /// /// The machine extension name. /// - public readonly string? Name; + public readonly string Name; /// /// Instance view status. /// @@ -24,21 +24,21 @@ public sealed class MachineExtensionInstanceViewResponseResult /// /// Specifies the type of the extension; an example is "CustomScriptExtension". /// - public readonly string? Type; + public readonly string Type; /// /// Specifies the version of the script handler. /// - public readonly string? TypeHandlerVersion; + public readonly string TypeHandlerVersion; [OutputConstructor] private MachineExtensionInstanceViewResponseResult( - string? name, + string name, Outputs.MachineExtensionInstanceViewResponseStatusResult? status, - string? type, + string type, - string? typeHandlerVersion) + string typeHandlerVersion) { Name = name; Status = status; diff --git a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs index d7c6a4eb7e27..5a60c4bfa175 100644 --- a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs +++ b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionInstanceViewResponseStatusResult.cs @@ -16,35 +16,35 @@ public sealed class MachineExtensionInstanceViewResponseStatusResult /// /// The status code. /// - public readonly string? Code; + public readonly string Code; /// /// The short localizable label for the status. /// - public readonly string? DisplayStatus; + public readonly string DisplayStatus; /// /// The level code. /// - public readonly string? Level; + public readonly string Level; /// /// The detailed status message, including for alerts and error messages. /// - public readonly string? Message; + public readonly string Message; /// /// The time of the status. /// - public readonly string? Time; + public readonly string Time; [OutputConstructor] private MachineExtensionInstanceViewResponseStatusResult( - string? code, + string code, - string? displayStatus, + string displayStatus, - string? level, + string level, - string? message, + string message, - string? time) + string time) { Code = code; DisplayStatus = displayStatus; diff --git a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs index 3053b40ec43b..3c10ce41558d 100644 --- a/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs +++ b/sdk/dotnet/HybridCompute/V20200802/Outputs/MachineExtensionPropertiesResponseInstanceViewResult.cs @@ -16,7 +16,7 @@ public sealed class MachineExtensionPropertiesResponseInstanceViewResult /// /// The machine extension name. /// - public readonly string? Name; + public readonly string Name; /// /// Instance view status. /// @@ -24,21 +24,21 @@ public sealed class MachineExtensionPropertiesResponseInstanceViewResult /// /// Specifies the type of the extension; an example is "CustomScriptExtension". /// - public readonly string? Type; + public readonly string Type; /// /// Specifies the version of the script handler. /// - public readonly string? TypeHandlerVersion; + public readonly string TypeHandlerVersion; [OutputConstructor] private MachineExtensionPropertiesResponseInstanceViewResult( - string? name, + string name, Outputs.MachineExtensionInstanceViewResponseStatusResult? status, - string? type, + string type, - string? typeHandlerVersion) + string typeHandlerVersion) { Name = name; Status = status; diff --git a/sdk/dotnet/MachineLearningServices/V20200901Preview/Inputs/LinkedServicePropsArgs.cs b/sdk/dotnet/MachineLearningServices/V20200901Preview/Inputs/LinkedServicePropsArgs.cs index 1cbb0724829c..4272e4df6b0a 100644 --- a/sdk/dotnet/MachineLearningServices/V20200901Preview/Inputs/LinkedServicePropsArgs.cs +++ b/sdk/dotnet/MachineLearningServices/V20200901Preview/Inputs/LinkedServicePropsArgs.cs @@ -15,11 +15,29 @@ namespace Pulumi.AzureRM.MachineLearningServices.V20200901Preview.Inputs /// public sealed class LinkedServicePropsArgs : Pulumi.ResourceArgs { + /// + /// The creation time of the linked service. + /// + [Input("createdTime")] + public Input? CreatedTime { get; set; } + + /// + /// Type of the link target. + /// + [Input("linkType")] + public Input? LinkType { get; set; } + /// /// ResourceId of the link target of the linked service. /// - [Input("linkedServiceResourceId")] - public Input? LinkedServiceResourceId { get; set; } + [Input("linkedServiceResourceId", required: true)] + public Input LinkedServiceResourceId { get; set; } = null!; + + /// + /// The last modified time of the linked service. + /// + [Input("modifiedTime")] + public Input? ModifiedTime { get; set; } public LinkedServicePropsArgs() { diff --git a/sdk/dotnet/MachineLearningServices/V20200901Preview/Outputs/LinkedServicePropsResponseResult.cs b/sdk/dotnet/MachineLearningServices/V20200901Preview/Outputs/LinkedServicePropsResponseResult.cs index f9c80091af30..dc597f6ccd75 100644 --- a/sdk/dotnet/MachineLearningServices/V20200901Preview/Outputs/LinkedServicePropsResponseResult.cs +++ b/sdk/dotnet/MachineLearningServices/V20200901Preview/Outputs/LinkedServicePropsResponseResult.cs @@ -13,15 +13,37 @@ namespace Pulumi.AzureRM.MachineLearningServices.V20200901Preview.Outputs [OutputType] public sealed class LinkedServicePropsResponseResult { + /// + /// The creation time of the linked service. + /// + public readonly string? CreatedTime; + /// + /// Type of the link target. + /// + public readonly string? LinkType; /// /// ResourceId of the link target of the linked service. /// - public readonly string? LinkedServiceResourceId; + public readonly string LinkedServiceResourceId; + /// + /// The last modified time of the linked service. + /// + public readonly string? ModifiedTime; [OutputConstructor] - private LinkedServicePropsResponseResult(string? linkedServiceResourceId) + private LinkedServicePropsResponseResult( + string? createdTime, + + string? linkType, + + string linkedServiceResourceId, + + string? modifiedTime) { + CreatedTime = createdTime; + LinkType = linkType; LinkedServiceResourceId = linkedServiceResourceId; + ModifiedTime = modifiedTime; } } } diff --git a/sdk/dotnet/Search/Latest/GetService.cs b/sdk/dotnet/Search/Latest/GetService.cs index a26fb6972577..703d73333201 100644 --- a/sdk/dotnet/Search/Latest/GetService.cs +++ b/sdk/dotnet/Search/Latest/GetService.cs @@ -60,7 +60,7 @@ public sealed class GetServiceResult /// public readonly Outputs.NetworkRuleSetResponseResult? NetworkRuleSet; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// public readonly int? PartitionCount; /// @@ -68,7 +68,7 @@ public sealed class GetServiceResult /// public readonly ImmutableArray PrivateEndpointConnections; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// public readonly string ProvisioningState; /// @@ -76,7 +76,7 @@ public sealed class GetServiceResult /// public readonly string? PublicNetworkAccess; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// public readonly int? ReplicaCount; /// @@ -88,11 +88,11 @@ public sealed class GetServiceResult /// public readonly Outputs.SkuResponseResult? Sku; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// public readonly string Status; /// - /// The details of the Search service status. + /// The details of the search service status. /// public readonly string StatusDetails; /// diff --git a/sdk/dotnet/Search/Latest/Inputs/SkuArgs.cs b/sdk/dotnet/Search/Latest/Inputs/SkuArgs.cs index cbf3fcee1a3b..81b64c294aa9 100644 --- a/sdk/dotnet/Search/Latest/Inputs/SkuArgs.cs +++ b/sdk/dotnet/Search/Latest/Inputs/SkuArgs.cs @@ -16,7 +16,7 @@ namespace Pulumi.AzureRM.Search.Latest.Inputs public sealed class SkuArgs : Pulumi.ResourceArgs { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Search/Latest/ListAdminKey.cs b/sdk/dotnet/Search/Latest/ListAdminKey.cs index fd9d28380ae9..f05f6f347764 100644 --- a/sdk/dotnet/Search/Latest/ListAdminKey.cs +++ b/sdk/dotnet/Search/Latest/ListAdminKey.cs @@ -40,11 +40,11 @@ public ListAdminKeyArgs() public sealed class ListAdminKeyResult { /// - /// The primary admin API key of the Search service. + /// The primary admin API key of the search service. /// public readonly string PrimaryKey; /// - /// The secondary admin API key of the Search service. + /// The secondary admin API key of the search service. /// public readonly string SecondaryKey; diff --git a/sdk/dotnet/Search/Latest/Outputs/SkuResponseResult.cs b/sdk/dotnet/Search/Latest/Outputs/SkuResponseResult.cs index cd671c82cbfe..99e0acd3ebac 100644 --- a/sdk/dotnet/Search/Latest/Outputs/SkuResponseResult.cs +++ b/sdk/dotnet/Search/Latest/Outputs/SkuResponseResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.AzureRM.Search.Latest.Outputs public sealed class SkuResponseResult { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// public readonly string? Name; diff --git a/sdk/dotnet/Search/Latest/Service.cs b/sdk/dotnet/Search/Latest/Service.cs index 45d038b10c6e..699f55342880 100644 --- a/sdk/dotnet/Search/Latest/Service.cs +++ b/sdk/dotnet/Search/Latest/Service.cs @@ -45,7 +45,7 @@ public partial class Service : Pulumi.CustomResource public Output NetworkRuleSet { get; private set; } = null!; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Output("partitionCount")] public Output PartitionCount { get; private set; } = null!; @@ -57,7 +57,7 @@ public partial class Service : Pulumi.CustomResource public Output> PrivateEndpointConnections { get; private set; } = null!; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// [Output("provisioningState")] public Output ProvisioningState { get; private set; } = null!; @@ -69,7 +69,7 @@ public partial class Service : Pulumi.CustomResource public Output PublicNetworkAccess { get; private set; } = null!; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Output("replicaCount")] public Output ReplicaCount { get; private set; } = null!; @@ -87,13 +87,13 @@ public partial class Service : Pulumi.CustomResource public Output Sku { get; private set; } = null!; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// [Output("status")] public Output Status { get; private set; } = null!; /// - /// The details of the Search service status. + /// The details of the search service status. /// [Output("statusDetails")] public Output StatusDetails { get; private set; } = null!; @@ -188,7 +188,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? NetworkRuleSet { get; set; } /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Input("partitionCount")] public Input? PartitionCount { get; set; } @@ -200,7 +200,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? PublicNetworkAccess { get; set; } /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Input("replicaCount")] public Input? ReplicaCount { get; set; } diff --git a/sdk/dotnet/Search/V20200801/GetService.cs b/sdk/dotnet/Search/V20200801/GetService.cs index 314518e121ee..f76b906be65c 100644 --- a/sdk/dotnet/Search/V20200801/GetService.cs +++ b/sdk/dotnet/Search/V20200801/GetService.cs @@ -60,7 +60,7 @@ public sealed class GetServiceResult /// public readonly Outputs.NetworkRuleSetResponseResult? NetworkRuleSet; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// public readonly int? PartitionCount; /// @@ -68,7 +68,7 @@ public sealed class GetServiceResult /// public readonly ImmutableArray PrivateEndpointConnections; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// public readonly string ProvisioningState; /// @@ -76,7 +76,7 @@ public sealed class GetServiceResult /// public readonly string? PublicNetworkAccess; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// public readonly int? ReplicaCount; /// @@ -88,11 +88,11 @@ public sealed class GetServiceResult /// public readonly Outputs.SkuResponseResult? Sku; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// public readonly string Status; /// - /// The details of the Search service status. + /// The details of the search service status. /// public readonly string StatusDetails; /// diff --git a/sdk/dotnet/Search/V20200801/Inputs/SkuArgs.cs b/sdk/dotnet/Search/V20200801/Inputs/SkuArgs.cs index 57b2f589ddad..eb78afc228d5 100644 --- a/sdk/dotnet/Search/V20200801/Inputs/SkuArgs.cs +++ b/sdk/dotnet/Search/V20200801/Inputs/SkuArgs.cs @@ -16,7 +16,7 @@ namespace Pulumi.AzureRM.Search.V20200801.Inputs public sealed class SkuArgs : Pulumi.ResourceArgs { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Search/V20200801/ListAdminKey.cs b/sdk/dotnet/Search/V20200801/ListAdminKey.cs index f9d06eae9005..7883ba876fb5 100644 --- a/sdk/dotnet/Search/V20200801/ListAdminKey.cs +++ b/sdk/dotnet/Search/V20200801/ListAdminKey.cs @@ -40,11 +40,11 @@ public ListAdminKeyArgs() public sealed class ListAdminKeyResult { /// - /// The primary admin API key of the Search service. + /// The primary admin API key of the search service. /// public readonly string PrimaryKey; /// - /// The secondary admin API key of the Search service. + /// The secondary admin API key of the search service. /// public readonly string SecondaryKey; diff --git a/sdk/dotnet/Search/V20200801/Outputs/SkuResponseResult.cs b/sdk/dotnet/Search/V20200801/Outputs/SkuResponseResult.cs index 994f9244b1d7..8a17891396fa 100644 --- a/sdk/dotnet/Search/V20200801/Outputs/SkuResponseResult.cs +++ b/sdk/dotnet/Search/V20200801/Outputs/SkuResponseResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.AzureRM.Search.V20200801.Outputs public sealed class SkuResponseResult { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// public readonly string? Name; diff --git a/sdk/dotnet/Search/V20200801/Service.cs b/sdk/dotnet/Search/V20200801/Service.cs index d160f07ad1c2..6dee18bbd2c9 100644 --- a/sdk/dotnet/Search/V20200801/Service.cs +++ b/sdk/dotnet/Search/V20200801/Service.cs @@ -45,7 +45,7 @@ public partial class Service : Pulumi.CustomResource public Output NetworkRuleSet { get; private set; } = null!; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Output("partitionCount")] public Output PartitionCount { get; private set; } = null!; @@ -57,7 +57,7 @@ public partial class Service : Pulumi.CustomResource public Output> PrivateEndpointConnections { get; private set; } = null!; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// [Output("provisioningState")] public Output ProvisioningState { get; private set; } = null!; @@ -69,7 +69,7 @@ public partial class Service : Pulumi.CustomResource public Output PublicNetworkAccess { get; private set; } = null!; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Output("replicaCount")] public Output ReplicaCount { get; private set; } = null!; @@ -87,13 +87,13 @@ public partial class Service : Pulumi.CustomResource public Output Sku { get; private set; } = null!; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// [Output("status")] public Output Status { get; private set; } = null!; /// - /// The details of the Search service status. + /// The details of the search service status. /// [Output("statusDetails")] public Output StatusDetails { get; private set; } = null!; @@ -188,7 +188,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? NetworkRuleSet { get; set; } /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Input("partitionCount")] public Input? PartitionCount { get; set; } @@ -200,7 +200,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? PublicNetworkAccess { get; set; } /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Input("replicaCount")] public Input? ReplicaCount { get; set; } diff --git a/sdk/dotnet/Search/V20200801Preview/GetService.cs b/sdk/dotnet/Search/V20200801Preview/GetService.cs index 290b4b976f44..79092293a285 100644 --- a/sdk/dotnet/Search/V20200801Preview/GetService.cs +++ b/sdk/dotnet/Search/V20200801Preview/GetService.cs @@ -60,7 +60,7 @@ public sealed class GetServiceResult /// public readonly Outputs.NetworkRuleSetResponseResult? NetworkRuleSet; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// public readonly int? PartitionCount; /// @@ -68,7 +68,7 @@ public sealed class GetServiceResult /// public readonly ImmutableArray PrivateEndpointConnections; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// public readonly string ProvisioningState; /// @@ -76,7 +76,7 @@ public sealed class GetServiceResult /// public readonly string? PublicNetworkAccess; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// public readonly int? ReplicaCount; /// @@ -88,11 +88,11 @@ public sealed class GetServiceResult /// public readonly Outputs.SkuResponseResult? Sku; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// public readonly string Status; /// - /// The details of the Search service status. + /// The details of the search service status. /// public readonly string StatusDetails; /// diff --git a/sdk/dotnet/Search/V20200801Preview/Inputs/SkuArgs.cs b/sdk/dotnet/Search/V20200801Preview/Inputs/SkuArgs.cs index d328f894bd0e..6488df81eee1 100644 --- a/sdk/dotnet/Search/V20200801Preview/Inputs/SkuArgs.cs +++ b/sdk/dotnet/Search/V20200801Preview/Inputs/SkuArgs.cs @@ -16,7 +16,7 @@ namespace Pulumi.AzureRM.Search.V20200801Preview.Inputs public sealed class SkuArgs : Pulumi.ResourceArgs { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Search/V20200801Preview/ListAdminKey.cs b/sdk/dotnet/Search/V20200801Preview/ListAdminKey.cs index 3ecbfd9af614..683d1eebe0b6 100644 --- a/sdk/dotnet/Search/V20200801Preview/ListAdminKey.cs +++ b/sdk/dotnet/Search/V20200801Preview/ListAdminKey.cs @@ -40,11 +40,11 @@ public ListAdminKeyArgs() public sealed class ListAdminKeyResult { /// - /// The primary admin API key of the Search service. + /// The primary admin API key of the search service. /// public readonly string PrimaryKey; /// - /// The secondary admin API key of the Search service. + /// The secondary admin API key of the search service. /// public readonly string SecondaryKey; diff --git a/sdk/dotnet/Search/V20200801Preview/Outputs/SkuResponseResult.cs b/sdk/dotnet/Search/V20200801Preview/Outputs/SkuResponseResult.cs index f7ccdf8ffc6d..851f988eacb0 100644 --- a/sdk/dotnet/Search/V20200801Preview/Outputs/SkuResponseResult.cs +++ b/sdk/dotnet/Search/V20200801Preview/Outputs/SkuResponseResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.AzureRM.Search.V20200801Preview.Outputs public sealed class SkuResponseResult { /// - /// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' /// public readonly string? Name; diff --git a/sdk/dotnet/Search/V20200801Preview/Service.cs b/sdk/dotnet/Search/V20200801Preview/Service.cs index 00bfdd136dfa..468c9efde18a 100644 --- a/sdk/dotnet/Search/V20200801Preview/Service.cs +++ b/sdk/dotnet/Search/V20200801Preview/Service.cs @@ -45,7 +45,7 @@ public partial class Service : Pulumi.CustomResource public Output NetworkRuleSet { get; private set; } = null!; /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Output("partitionCount")] public Output PartitionCount { get; private set; } = null!; @@ -57,7 +57,7 @@ public partial class Service : Pulumi.CustomResource public Output> PrivateEndpointConnections { get; private set; } = null!; /// - /// The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. /// [Output("provisioningState")] public Output ProvisioningState { get; private set; } = null!; @@ -69,7 +69,7 @@ public partial class Service : Pulumi.CustomResource public Output PublicNetworkAccess { get; private set; } = null!; /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Output("replicaCount")] public Output ReplicaCount { get; private set; } = null!; @@ -87,13 +87,13 @@ public partial class Service : Pulumi.CustomResource public Output Sku { get; private set; } = null!; /// - /// The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. /// [Output("status")] public Output Status { get; private set; } = null!; /// - /// The details of the Search service status. + /// The details of the search service status. /// [Output("statusDetails")] public Output StatusDetails { get; private set; } = null!; @@ -188,7 +188,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? NetworkRuleSet { get; set; } /// - /// The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. /// [Input("partitionCount")] public Input? PartitionCount { get; set; } @@ -200,7 +200,7 @@ public sealed class ServiceArgs : Pulumi.ResourceArgs public Input? PublicNetworkAccess { get; set; } /// - /// The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. /// [Input("replicaCount")] public Input? ReplicaCount { get; set; } diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/GetThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/GetThreatIntelligenceIndicator.cs new file mode 100644 index 000000000000..594e6781a555 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/GetThreatIntelligenceIndicator.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.SecurityInsights.V20190101Preview +{ + public static class GetThreatIntelligenceIndicator + { + public static Task InvokeAsync(GetThreatIntelligenceIndicatorArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator", args ?? new GetThreatIntelligenceIndicatorArgs(), options.WithVersion()); + } + + + public sealed class GetThreatIntelligenceIndicatorArgs : Pulumi.InvokeArgs + { + /// + /// Threat Intelligence Identifier + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// The namespace of workspaces resource provider- Microsoft.OperationalInsights. + /// + [Input("operationalInsightsResourceProvider", required: true)] + public string OperationalInsightsResourceProvider { get; set; } = null!; + + /// + /// The name of the resource group within the user's subscription. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetThreatIntelligenceIndicatorArgs() + { + } + } + + + [OutputType] + public sealed class GetThreatIntelligenceIndicatorResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The kind of the entity. + /// + public readonly string Kind; + /// + /// Azure resource name + /// + public readonly string Name; + /// + /// Azure resource type + /// + public readonly string Type; + + [OutputConstructor] + private GetThreatIntelligenceIndicatorResult( + string? etag, + + string kind, + + string name, + + string type) + { + Etag = etag; + Kind = kind; + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs new file mode 100644 index 000000000000..b5f9b50af023 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.SecurityInsights.V20190101Preview.Inputs +{ + + /// + /// Describes threat granular marking model entity + /// + public sealed class ThreatIntelligenceGranularMarkingModelArgs : Pulumi.ResourceArgs + { + /// + /// Language granular marking model + /// + [Input("language")] + public Input? Language { get; set; } + + /// + /// marking reference granular marking model + /// + [Input("markingRef")] + public Input? MarkingRef { get; set; } + + [Input("selectors")] + private InputList? _selectors; + + /// + /// granular marking model selectors + /// + public InputList Selectors + { + get => _selectors ?? (_selectors = new InputList()); + set => _selectors = value; + } + + public ThreatIntelligenceGranularMarkingModelArgs() + { + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs new file mode 100644 index 000000000000..09e8e092682b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.SecurityInsights.V20190101Preview.Inputs +{ + + /// + /// Describes threat kill chain phase entity + /// + public sealed class ThreatIntelligenceKillChainPhaseArgs : Pulumi.ResourceArgs + { + /// + /// Kill chainName name + /// + [Input("killChainName")] + public Input? KillChainName { get; set; } + + /// + /// Phase name + /// + [Input("phaseName")] + public Input? PhaseName { get; set; } + + public ThreatIntelligenceKillChainPhaseArgs() + { + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/ThreatIntelligenceIndicator.cs new file mode 100644 index 000000000000..c74a8c8b2e0a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/ThreatIntelligenceIndicator.cs @@ -0,0 +1,294 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureRM.SecurityInsights.V20190101Preview +{ + /// + /// Threat intelligence resource. + /// + public partial class ThreatIntelligenceIndicator : Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the entity. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Azure resource name + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure resource type + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ThreatIntelligenceIndicator resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ThreatIntelligenceIndicator(string name, ThreatIntelligenceIndicatorArgs args, CustomResourceOptions? options = null) + : base("azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator", name, args ?? new ThreatIntelligenceIndicatorArgs(), MakeResourceOptions(options, "")) + { + } + + private ThreatIntelligenceIndicator(string name, Input id, CustomResourceOptions? options = null) + : base("azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ThreatIntelligenceIndicator resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static ThreatIntelligenceIndicator Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ThreatIntelligenceIndicator(name, id, options); + } + } + + public sealed class ThreatIntelligenceIndicatorArgs : Pulumi.ResourceArgs + { + /// + /// Confidence of threat intelligence entity + /// + [Input("confidence")] + public Input? Confidence { get; set; } + + /// + /// Created by + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Created by reference of threat intelligence entity + /// + [Input("createdByRef")] + public Input? CreatedByRef { get; set; } + + /// + /// Description of a threat intelligence entity + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Display name of a threat intelligence entity + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// Etag of the azure resource + /// + [Input("etag")] + public Input? Etag { get; set; } + + /// + /// External ID of threat intelligence entity + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + [Input("externalReferences")] + private InputList? _externalReferences; + + /// + /// External References + /// + public InputList ExternalReferences + { + get => _externalReferences ?? (_externalReferences = new InputList()); + set => _externalReferences = value; + } + + [Input("granularMarkings")] + private InputList? _granularMarkings; + + /// + /// Granular Markings + /// + public InputList GranularMarkings + { + get => _granularMarkings ?? (_granularMarkings = new InputList()); + set => _granularMarkings = value; + } + + [Input("indicatorTypes")] + private InputList? _indicatorTypes; + + /// + /// Indicator types of threat intelligence entities + /// + public InputList IndicatorTypes + { + get => _indicatorTypes ?? (_indicatorTypes = new InputList()); + set => _indicatorTypes = value; + } + + [Input("killChainPhases")] + private InputList? _killChainPhases; + + /// + /// Kill chain phases + /// + public InputList KillChainPhases + { + get => _killChainPhases ?? (_killChainPhases = new InputList()); + set => _killChainPhases = value; + } + + /// + /// The kind of the entity. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + [Input("labels")] + private InputList? _labels; + + /// + /// Labels of threat intelligence entity + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// Last updated time in UTC + /// + [Input("lastUpdatedTimeUtc")] + public Input? LastUpdatedTimeUtc { get; set; } + + /// + /// Modified by + /// + [Input("modified")] + public Input? Modified { get; set; } + + /// + /// Threat Intelligence Identifier + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The namespace of workspaces resource provider- Microsoft.OperationalInsights. + /// + [Input("operationalInsightsResourceProvider", required: true)] + public Input OperationalInsightsResourceProvider { get; set; } = null!; + + /// + /// Pattern of a threat intelligence entity + /// + [Input("pattern")] + public Input? Pattern { get; set; } + + /// + /// Pattern type of a threat intelligence entity + /// + [Input("patternType")] + public Input? PatternType { get; set; } + + /// + /// The name of the resource group within the user's subscription. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Is threat intelligence entity revoked + /// + [Input("revoked")] + public Input? Revoked { get; set; } + + /// + /// Source of a threat intelligence entity + /// + [Input("source")] + public Input? Source { get; set; } + + [Input("threatIntelligenceTags")] + private InputList? _threatIntelligenceTags; + + /// + /// List of tags + /// + public InputList ThreatIntelligenceTags + { + get => _threatIntelligenceTags ?? (_threatIntelligenceTags = new InputList()); + set => _threatIntelligenceTags = value; + } + + [Input("threatTypes")] + private InputList? _threatTypes; + + /// + /// Threat types + /// + public InputList ThreatTypes + { + get => _threatTypes ?? (_threatTypes = new InputList()); + set => _threatTypes = value; + } + + /// + /// Valid from + /// + [Input("validFrom")] + public Input? ValidFrom { get; set; } + + /// + /// Valid until + /// + [Input("validUntil")] + public Input? ValidUntil { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ThreatIntelligenceIndicatorArgs() + { + } + } +} diff --git a/sdk/dotnet/Synapse/V20190601Preview/GetIntegrationRuntime.cs b/sdk/dotnet/Synapse/V20190601Preview/GetIntegrationRuntime.cs index 600639f978dc..9947cfaa7502 100644 --- a/sdk/dotnet/Synapse/V20190601Preview/GetIntegrationRuntime.cs +++ b/sdk/dotnet/Synapse/V20190601Preview/GetIntegrationRuntime.cs @@ -46,11 +46,11 @@ public GetIntegrationRuntimeArgs() public sealed class GetIntegrationRuntimeResult { /// - /// Etag identifies change in the resource. + /// Resource Etag. /// public readonly string Etag; /// - /// The resource name. + /// The name of the resource /// public readonly string Name; /// @@ -58,7 +58,7 @@ public sealed class GetIntegrationRuntimeResult /// public readonly Outputs.IntegrationRuntimeResponseResult Properties; /// - /// The resource type. + /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. /// public readonly string Type; diff --git a/sdk/dotnet/Synapse/V20190601Preview/Inputs/SkuArgs.cs b/sdk/dotnet/Synapse/V20190601Preview/Inputs/SkuArgs.cs index c891d2aa83f7..804f02a060e7 100644 --- a/sdk/dotnet/Synapse/V20190601Preview/Inputs/SkuArgs.cs +++ b/sdk/dotnet/Synapse/V20190601Preview/Inputs/SkuArgs.cs @@ -15,6 +15,12 @@ namespace Pulumi.AzureRM.Synapse.V20190601Preview.Inputs /// public sealed class SkuArgs : Pulumi.ResourceArgs { + /// + /// 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. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + /// /// The SKU name /// diff --git a/sdk/dotnet/Synapse/V20190601Preview/IntegrationRuntime.cs b/sdk/dotnet/Synapse/V20190601Preview/IntegrationRuntime.cs index de1c9c07e0a0..29c7df2c0acd 100644 --- a/sdk/dotnet/Synapse/V20190601Preview/IntegrationRuntime.cs +++ b/sdk/dotnet/Synapse/V20190601Preview/IntegrationRuntime.cs @@ -15,13 +15,13 @@ namespace Pulumi.AzureRM.Synapse.V20190601Preview public partial class IntegrationRuntime : Pulumi.CustomResource { /// - /// Etag identifies change in the resource. + /// Resource Etag. /// [Output("etag")] public Output Etag { get; private set; } = null!; /// - /// The resource name. + /// The name of the resource /// [Output("name")] public Output Name { get; private set; } = null!; @@ -33,7 +33,7 @@ public partial class IntegrationRuntime : Pulumi.CustomResource public Output Properties { get; private set; } = null!; /// - /// The resource type. + /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. /// [Output("type")] public Output Type { get; private set; } = null!; diff --git a/sdk/dotnet/Synapse/V20190601Preview/Outputs/SkuResponseResult.cs b/sdk/dotnet/Synapse/V20190601Preview/Outputs/SkuResponseResult.cs index 12e9f11ccacd..4ef3985d8f98 100644 --- a/sdk/dotnet/Synapse/V20190601Preview/Outputs/SkuResponseResult.cs +++ b/sdk/dotnet/Synapse/V20190601Preview/Outputs/SkuResponseResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.AzureRM.Synapse.V20190601Preview.Outputs [OutputType] public sealed class SkuResponseResult { + /// + /// 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. + /// + public readonly int? Capacity; /// /// The SKU name /// @@ -24,10 +28,13 @@ public sealed class SkuResponseResult [OutputConstructor] private SkuResponseResult( + int? capacity, + string? name, string? tier) { + Capacity = capacity; Name = name; Tier = tier; } diff --git a/sdk/go/azurerm/devices/latest/certificate.go b/sdk/go/azurerm/devices/latest/certificate.go index 6bf66da58d0d..5a4309a04338 100644 --- a/sdk/go/azurerm/devices/latest/certificate.go +++ b/sdk/go/azurerm/devices/latest/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/latest/iotHubResource.go b/sdk/go/azurerm/devices/latest/iotHubResource.go index 8d76075457a5..1cbb28e9bc3b 100644 --- a/sdk/go/azurerm/devices/latest/iotHubResource.go +++ b/sdk/go/azurerm/devices/latest/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/latest/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/latest/iotHubResourceEventHubConsumerGroup.go index fdea9d8dd0d6..3eea41999cc0 100644 --- a/sdk/go/azurerm/devices/latest/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/latest/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/latest/privateEndpointConnection.go b/sdk/go/azurerm/devices/latest/privateEndpointConnection.go index 87768d2d046d..887c0e1656f0 100644 --- a/sdk/go/azurerm/devices/latest/privateEndpointConnection.go +++ b/sdk/go/azurerm/devices/latest/privateEndpointConnection.go @@ -53,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azurerm/devices/v20160203/iotHubResource.go b/sdk/go/azurerm/devices/v20160203/iotHubResource.go index 733e4df42f28..c3c0aa21aa5b 100644 --- a/sdk/go/azurerm/devices/v20160203/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20160203/iotHubResource.go @@ -101,6 +101,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20160203/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20160203/iotHubResourceEventHubConsumerGroup.go index 7ebe08ca7263..7b3a9f5920fb 100644 --- a/sdk/go/azurerm/devices/v20160203/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20160203/iotHubResourceEventHubConsumerGroup.go @@ -81,6 +81,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20170119/iotHubResource.go b/sdk/go/azurerm/devices/v20170119/iotHubResource.go index 96144407ac78..ad105ebad3df 100644 --- a/sdk/go/azurerm/devices/v20170119/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20170119/iotHubResource.go @@ -101,6 +101,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20170119/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20170119/iotHubResourceEventHubConsumerGroup.go index df7dae034037..b5538bf67cab 100644 --- a/sdk/go/azurerm/devices/v20170119/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20170119/iotHubResourceEventHubConsumerGroup.go @@ -81,6 +81,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20170701/certificate.go b/sdk/go/azurerm/devices/v20170701/certificate.go index d08948ac080a..0be289fc9e58 100644 --- a/sdk/go/azurerm/devices/v20170701/certificate.go +++ b/sdk/go/azurerm/devices/v20170701/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20170701/iotHubResource.go b/sdk/go/azurerm/devices/v20170701/iotHubResource.go index c75e84b91fdc..adae331d7772 100644 --- a/sdk/go/azurerm/devices/v20170701/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20170701/iotHubResource.go @@ -101,6 +101,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20170701/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20170701/iotHubResourceEventHubConsumerGroup.go index 630648b7dbb8..2cddbe26b2d7 100644 --- a/sdk/go/azurerm/devices/v20170701/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20170701/iotHubResourceEventHubConsumerGroup.go @@ -81,6 +81,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20180122/certificate.go b/sdk/go/azurerm/devices/v20180122/certificate.go index 7bc6ecbc14b7..65a3e174d549 100644 --- a/sdk/go/azurerm/devices/v20180122/certificate.go +++ b/sdk/go/azurerm/devices/v20180122/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20180122/iotHubResource.go b/sdk/go/azurerm/devices/v20180122/iotHubResource.go index e5ea3a46f21c..a84890d5fdc4 100644 --- a/sdk/go/azurerm/devices/v20180122/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20180122/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20180122/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20180122/iotHubResourceEventHubConsumerGroup.go index 60c70bee50dc..193d1b1391a8 100644 --- a/sdk/go/azurerm/devices/v20180122/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20180122/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20180401/certificate.go b/sdk/go/azurerm/devices/v20180401/certificate.go index eebe8d449272..c87d6c0e56c9 100644 --- a/sdk/go/azurerm/devices/v20180401/certificate.go +++ b/sdk/go/azurerm/devices/v20180401/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20180401/iotHubResource.go b/sdk/go/azurerm/devices/v20180401/iotHubResource.go index 0aa9cefb5edf..356b619a5b19 100644 --- a/sdk/go/azurerm/devices/v20180401/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20180401/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20180401/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20180401/iotHubResourceEventHubConsumerGroup.go index 02a223c2323f..375745d6355a 100644 --- a/sdk/go/azurerm/devices/v20180401/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20180401/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20181201preview/certificate.go b/sdk/go/azurerm/devices/v20181201preview/certificate.go index 9b9bd71dfc6c..30675127b7ba 100644 --- a/sdk/go/azurerm/devices/v20181201preview/certificate.go +++ b/sdk/go/azurerm/devices/v20181201preview/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20181201preview/iotHubResource.go b/sdk/go/azurerm/devices/v20181201preview/iotHubResource.go index dfe82468e5aa..b9668fc92119 100644 --- a/sdk/go/azurerm/devices/v20181201preview/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20181201preview/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.go index 136554d495d7..6b6a6949091d 100644 --- a/sdk/go/azurerm/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20190322/certificate.go b/sdk/go/azurerm/devices/v20190322/certificate.go index e9bf371bc50a..a0ea2bc0bd13 100644 --- a/sdk/go/azurerm/devices/v20190322/certificate.go +++ b/sdk/go/azurerm/devices/v20190322/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20190322/iotHubResource.go b/sdk/go/azurerm/devices/v20190322/iotHubResource.go index 0c239b74975c..b8ff9ea855e4 100644 --- a/sdk/go/azurerm/devices/v20190322/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20190322/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20190322/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20190322/iotHubResourceEventHubConsumerGroup.go index 5cf4b1be608f..ef912a377bcf 100644 --- a/sdk/go/azurerm/devices/v20190322/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20190322/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20190322preview/certificate.go b/sdk/go/azurerm/devices/v20190322preview/certificate.go index f5f33e92567e..85a70385c519 100644 --- a/sdk/go/azurerm/devices/v20190322preview/certificate.go +++ b/sdk/go/azurerm/devices/v20190322preview/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20190322preview/iotHubResource.go b/sdk/go/azurerm/devices/v20190322preview/iotHubResource.go index 8b86ed1ded9a..fcf2c97ace99 100644 --- a/sdk/go/azurerm/devices/v20190322preview/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20190322preview/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.go index 8fd9d18c5265..75739c1c5e18 100644 --- a/sdk/go/azurerm/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20190701preview/certificate.go b/sdk/go/azurerm/devices/v20190701preview/certificate.go index 0587ce2345b4..299da9769c93 100644 --- a/sdk/go/azurerm/devices/v20190701preview/certificate.go +++ b/sdk/go/azurerm/devices/v20190701preview/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20190701preview/iotHubResource.go b/sdk/go/azurerm/devices/v20190701preview/iotHubResource.go index 156ecf530333..f8d6171a5255 100644 --- a/sdk/go/azurerm/devices/v20190701preview/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20190701preview/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.go index 6a880abb5e5c..0c76ddfc01df 100644 --- a/sdk/go/azurerm/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20191104/certificate.go b/sdk/go/azurerm/devices/v20191104/certificate.go index ac9c74ed27ce..9f934deef194 100644 --- a/sdk/go/azurerm/devices/v20191104/certificate.go +++ b/sdk/go/azurerm/devices/v20191104/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20191104/iotHubResource.go b/sdk/go/azurerm/devices/v20191104/iotHubResource.go index f9ea7f1a172c..6a5c08dc8364 100644 --- a/sdk/go/azurerm/devices/v20191104/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20191104/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20191104/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20191104/iotHubResourceEventHubConsumerGroup.go index f7eeb59acd35..a5a150cd8cad 100644 --- a/sdk/go/azurerm/devices/v20191104/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20191104/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20200301/certificate.go b/sdk/go/azurerm/devices/v20200301/certificate.go index e66020434f25..6116239b814d 100644 --- a/sdk/go/azurerm/devices/v20200301/certificate.go +++ b/sdk/go/azurerm/devices/v20200301/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20200301/iotHubResource.go b/sdk/go/azurerm/devices/v20200301/iotHubResource.go index f6f5245d967f..46d6716f2c94 100644 --- a/sdk/go/azurerm/devices/v20200301/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20200301/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20200301/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200301/iotHubResourceEventHubConsumerGroup.go index 97bb7c04a34b..9497a43c7303 100644 --- a/sdk/go/azurerm/devices/v20200301/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20200301/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20200301/privateEndpointConnection.go b/sdk/go/azurerm/devices/v20200301/privateEndpointConnection.go index 0dcf0953daf5..e1522010a400 100644 --- a/sdk/go/azurerm/devices/v20200301/privateEndpointConnection.go +++ b/sdk/go/azurerm/devices/v20200301/privateEndpointConnection.go @@ -53,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azurerm/devices/v20200401/certificate.go b/sdk/go/azurerm/devices/v20200401/certificate.go index 8346e421de9f..aa2f848f2e71 100644 --- a/sdk/go/azurerm/devices/v20200401/certificate.go +++ b/sdk/go/azurerm/devices/v20200401/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20200401/iotHubResource.go b/sdk/go/azurerm/devices/v20200401/iotHubResource.go index c0625acc54b4..f4a432d6f49c 100644 --- a/sdk/go/azurerm/devices/v20200401/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20200401/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20200401/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200401/iotHubResourceEventHubConsumerGroup.go index 3d6497b14d05..981378f4d6d9 100644 --- a/sdk/go/azurerm/devices/v20200401/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20200401/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20200401/privateEndpointConnection.go b/sdk/go/azurerm/devices/v20200401/privateEndpointConnection.go index bfd0f4e5ce6b..5be93cac723d 100644 --- a/sdk/go/azurerm/devices/v20200401/privateEndpointConnection.go +++ b/sdk/go/azurerm/devices/v20200401/privateEndpointConnection.go @@ -53,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azurerm/devices/v20200615/certificate.go b/sdk/go/azurerm/devices/v20200615/certificate.go index 9b6d6ab3c910..0a041cc048cb 100644 --- a/sdk/go/azurerm/devices/v20200615/certificate.go +++ b/sdk/go/azurerm/devices/v20200615/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20200615/iotHubResource.go b/sdk/go/azurerm/devices/v20200615/iotHubResource.go index 382e3918e906..dd2268c89918 100644 --- a/sdk/go/azurerm/devices/v20200615/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20200615/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20200615/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200615/iotHubResourceEventHubConsumerGroup.go index 887d6df15622..ffda502a96f2 100644 --- a/sdk/go/azurerm/devices/v20200615/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20200615/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20200615/privateEndpointConnection.go b/sdk/go/azurerm/devices/v20200615/privateEndpointConnection.go index 2afb3231d727..08c66240ee0d 100644 --- a/sdk/go/azurerm/devices/v20200615/privateEndpointConnection.go +++ b/sdk/go/azurerm/devices/v20200615/privateEndpointConnection.go @@ -53,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200710preview:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azurerm/devices/v20200710preview/certificate.go b/sdk/go/azurerm/devices/v20200710preview/certificate.go index 58e6d4e67ec9..9102782ee3de 100644 --- a/sdk/go/azurerm/devices/v20200710preview/certificate.go +++ b/sdk/go/azurerm/devices/v20200710preview/certificate.go @@ -76,6 +76,9 @@ func NewCertificate(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200615:Certificate"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:Certificate"), + }, }) opts = append(opts, aliases) var resource Certificate diff --git a/sdk/go/azurerm/devices/v20200710preview/iotHubResource.go b/sdk/go/azurerm/devices/v20200710preview/iotHubResource.go index 8e09843a026b..2aa98ab540ce 100644 --- a/sdk/go/azurerm/devices/v20200710preview/iotHubResource.go +++ b/sdk/go/azurerm/devices/v20200710preview/iotHubResource.go @@ -91,6 +91,9 @@ func NewIotHubResource(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200615:IotHubResource"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResource"), + }, }) opts = append(opts, aliases) var resource IotHubResource diff --git a/sdk/go/azurerm/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.go index a4dc38c38121..aeef6537a6be 100644 --- a/sdk/go/azurerm/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.go +++ b/sdk/go/azurerm/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.go @@ -85,6 +85,9 @@ func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup"), + }, }) opts = append(opts, aliases) var resource IotHubResourceEventHubConsumerGroup diff --git a/sdk/go/azurerm/devices/v20200710preview/privateEndpointConnection.go b/sdk/go/azurerm/devices/v20200710preview/privateEndpointConnection.go index 2ec8fd854cd9..3a6cd3cd8df6 100644 --- a/sdk/go/azurerm/devices/v20200710preview/privateEndpointConnection.go +++ b/sdk/go/azurerm/devices/v20200710preview/privateEndpointConnection.go @@ -53,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azurerm:devices/v20200615:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azurerm:devices/v20200801:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azurerm/devices/v20200801/certificate.go b/sdk/go/azurerm/devices/v20200801/certificate.go new file mode 100644 index 000000000000..203dc70a0a12 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/certificate.go @@ -0,0 +1,156 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The X509 Certificate. +type Certificate struct { + pulumi.CustomResourceState + + // The entity tag. + Etag pulumi.StringOutput `pulumi:"etag"` + // The name of the certificate. + Name pulumi.StringOutput `pulumi:"name"` + // The description of an X509 CA Certificate. + Properties CertificatePropertiesResponseOutput `pulumi:"properties"` + // The resource type. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewCertificate registers a new resource with the given unique name, arguments, and options. +func NewCertificate(ctx *pulumi.Context, + name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error) { + if args == nil || args.CertificateName == nil { + return nil, errors.New("missing required argument 'CertificateName'") + } + if args == nil || args.ResourceGroupName == nil { + return nil, errors.New("missing required argument 'ResourceGroupName'") + } + if args == nil || args.ResourceName == nil { + return nil, errors.New("missing required argument 'ResourceName'") + } + if args == nil { + args = &CertificateArgs{} + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azurerm:devices/latest:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20170701:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20180122:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20180401:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20181201preview:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322preview:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20190701preview:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20191104:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20200301:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20200401:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20200615:Certificate"), + }, + { + Type: pulumi.String("azurerm:devices/v20200710preview:Certificate"), + }, + }) + opts = append(opts, aliases) + var resource Certificate + err := ctx.RegisterResource("azurerm:devices/v20200801:Certificate", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCertificate(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error) { + var resource Certificate + err := ctx.ReadResource("azurerm:devices/v20200801:Certificate", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Certificate resources. +type certificateState struct { + // The entity tag. + Etag *string `pulumi:"etag"` + // The name of the certificate. + Name *string `pulumi:"name"` + // The description of an X509 CA Certificate. + Properties *CertificatePropertiesResponse `pulumi:"properties"` + // The resource type. + Type *string `pulumi:"type"` +} + +type CertificateState struct { + // The entity tag. + Etag pulumi.StringPtrInput + // The name of the certificate. + Name pulumi.StringPtrInput + // The description of an X509 CA Certificate. + Properties CertificatePropertiesResponsePtrInput + // The resource type. + Type pulumi.StringPtrInput +} + +func (CertificateState) ElementType() reflect.Type { + return reflect.TypeOf((*certificateState)(nil)).Elem() +} + +type certificateArgs struct { + // The name of the certificate + CertificateName string `pulumi:"certificateName"` + // The description of an X509 CA Certificate. + Properties *CertificateProperties `pulumi:"properties"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The set of arguments for constructing a Certificate resource. +type CertificateArgs struct { + // The name of the certificate + CertificateName pulumi.StringInput + // The description of an X509 CA Certificate. + Properties CertificatePropertiesPtrInput + // The name of the resource group that contains the IoT hub. + ResourceGroupName pulumi.StringInput + // The name of the IoT hub. + ResourceName pulumi.StringInput +} + +func (CertificateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*certificateArgs)(nil)).Elem() +} diff --git a/sdk/go/azurerm/devices/v20200801/getCertificate.go b/sdk/go/azurerm/devices/v20200801/getCertificate.go new file mode 100644 index 000000000000..0929d09efe69 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/getCertificate.go @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupCertificate(ctx *pulumi.Context, args *LookupCertificateArgs, opts ...pulumi.InvokeOption) (*LookupCertificateResult, error) { + var rv LookupCertificateResult + err := ctx.Invoke("azurerm:devices/v20200801:getCertificate", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupCertificateArgs struct { + // The name of the certificate + CertificateName string `pulumi:"certificateName"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The X509 Certificate. +type LookupCertificateResult struct { + // The entity tag. + Etag string `pulumi:"etag"` + // The name of the certificate. + Name string `pulumi:"name"` + // The description of an X509 CA Certificate. + Properties CertificatePropertiesResponse `pulumi:"properties"` + // The resource type. + Type string `pulumi:"type"` +} diff --git a/sdk/go/azurerm/devices/v20200801/getIotHubResource.go b/sdk/go/azurerm/devices/v20200801/getIotHubResource.go new file mode 100644 index 000000000000..02ad9ce4495f --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/getIotHubResource.go @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupIotHubResource(ctx *pulumi.Context, args *LookupIotHubResourceArgs, opts ...pulumi.InvokeOption) (*LookupIotHubResourceResult, error) { + var rv LookupIotHubResourceResult + err := ctx.Invoke("azurerm:devices/v20200801:getIotHubResource", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupIotHubResourceArgs struct { + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The description of the IoT hub. +type LookupIotHubResourceResult struct { + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag *string `pulumi:"etag"` + // The resource location. + Location string `pulumi:"location"` + // The resource name. + Name string `pulumi:"name"` + // IotHub properties + Properties IotHubPropertiesResponse `pulumi:"properties"` + // IotHub SKU info + Sku IotHubSkuInfoResponse `pulumi:"sku"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` + // The resource type. + Type string `pulumi:"type"` +} diff --git a/sdk/go/azurerm/devices/v20200801/getIotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200801/getIotHubResourceEventHubConsumerGroup.go new file mode 100644 index 000000000000..1b02d00e52c9 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/getIotHubResourceEventHubConsumerGroup.go @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, args *LookupIotHubResourceEventHubConsumerGroupArgs, opts ...pulumi.InvokeOption) (*LookupIotHubResourceEventHubConsumerGroupResult, error) { + var rv LookupIotHubResourceEventHubConsumerGroupResult + err := ctx.Invoke("azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupIotHubResourceEventHubConsumerGroupArgs struct { + // The name of the Event Hub-compatible endpoint in the IoT hub. + EventHubEndpointName string `pulumi:"eventHubEndpointName"` + // The name of the consumer group to retrieve. + Name string `pulumi:"name"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The properties of the EventHubConsumerGroupInfo object. +type LookupIotHubResourceEventHubConsumerGroupResult struct { + // The etag. + Etag string `pulumi:"etag"` + // The Event Hub-compatible consumer group name. + Name string `pulumi:"name"` + // The tags. + Properties map[string]string `pulumi:"properties"` + // the resource type. + Type string `pulumi:"type"` +} diff --git a/sdk/go/azurerm/devices/v20200801/getPrivateEndpointConnection.go b/sdk/go/azurerm/devices/v20200801/getPrivateEndpointConnection.go new file mode 100644 index 000000000000..dd61339a19d7 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/getPrivateEndpointConnection.go @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupPrivateEndpointConnection(ctx *pulumi.Context, args *LookupPrivateEndpointConnectionArgs, opts ...pulumi.InvokeOption) (*LookupPrivateEndpointConnectionResult, error) { + var rv LookupPrivateEndpointConnectionResult + err := ctx.Invoke("azurerm:devices/v20200801:getPrivateEndpointConnection", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupPrivateEndpointConnectionArgs struct { + // The name of the private endpoint connection + PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The private endpoint connection of an IotHub +type LookupPrivateEndpointConnectionResult struct { + // The resource name. + Name string `pulumi:"name"` + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesResponse `pulumi:"properties"` + // The resource type. + Type string `pulumi:"type"` +} diff --git a/sdk/go/azurerm/devices/v20200801/iotHubResource.go b/sdk/go/azurerm/devices/v20200801/iotHubResource.go new file mode 100644 index 000000000000..10bc095a494e --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/iotHubResource.go @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The description of the IoT hub. +type IotHubResource struct { + pulumi.CustomResourceState + + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag pulumi.StringPtrOutput `pulumi:"etag"` + // The resource location. + Location pulumi.StringOutput `pulumi:"location"` + // The resource name. + Name pulumi.StringOutput `pulumi:"name"` + // IotHub properties + Properties IotHubPropertiesResponseOutput `pulumi:"properties"` + // IotHub SKU info + Sku IotHubSkuInfoResponseOutput `pulumi:"sku"` + // The resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The resource type. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewIotHubResource registers a new resource with the given unique name, arguments, and options. +func NewIotHubResource(ctx *pulumi.Context, + name string, args *IotHubResourceArgs, opts ...pulumi.ResourceOption) (*IotHubResource, error) { + if args == nil || args.Location == nil { + return nil, errors.New("missing required argument 'Location'") + } + if args == nil || args.ResourceGroupName == nil { + return nil, errors.New("missing required argument 'ResourceGroupName'") + } + if args == nil || args.ResourceName == nil { + return nil, errors.New("missing required argument 'ResourceName'") + } + if args == nil || args.Sku == nil { + return nil, errors.New("missing required argument 'Sku'") + } + if args == nil { + args = &IotHubResourceArgs{} + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azurerm:devices/latest:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20160203:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20170119:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20170701:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20180122:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20180401:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20181201preview:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322preview:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20190701preview:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20191104:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20200301:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20200401:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20200615:IotHubResource"), + }, + { + Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResource"), + }, + }) + opts = append(opts, aliases) + var resource IotHubResource + err := ctx.RegisterResource("azurerm:devices/v20200801:IotHubResource", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIotHubResource gets an existing IotHubResource resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIotHubResource(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IotHubResourceState, opts ...pulumi.ResourceOption) (*IotHubResource, error) { + var resource IotHubResource + err := ctx.ReadResource("azurerm:devices/v20200801:IotHubResource", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IotHubResource resources. +type iotHubResourceState struct { + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag *string `pulumi:"etag"` + // The resource location. + Location *string `pulumi:"location"` + // The resource name. + Name *string `pulumi:"name"` + // IotHub properties + Properties *IotHubPropertiesResponse `pulumi:"properties"` + // IotHub SKU info + Sku *IotHubSkuInfoResponse `pulumi:"sku"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` + // The resource type. + Type *string `pulumi:"type"` +} + +type IotHubResourceState struct { + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag pulumi.StringPtrInput + // The resource location. + Location pulumi.StringPtrInput + // The resource name. + Name pulumi.StringPtrInput + // IotHub properties + Properties IotHubPropertiesResponsePtrInput + // IotHub SKU info + Sku IotHubSkuInfoResponsePtrInput + // The resource tags. + Tags pulumi.StringMapInput + // The resource type. + Type pulumi.StringPtrInput +} + +func (IotHubResourceState) ElementType() reflect.Type { + return reflect.TypeOf((*iotHubResourceState)(nil)).Elem() +} + +type iotHubResourceArgs struct { + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag *string `pulumi:"etag"` + // The resource location. + Location string `pulumi:"location"` + // IotHub properties + Properties *IotHubProperties `pulumi:"properties"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` + // IotHub SKU info + Sku IotHubSkuInfo `pulumi:"sku"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a IotHubResource resource. +type IotHubResourceArgs struct { + // The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + Etag pulumi.StringPtrInput + // The resource location. + Location pulumi.StringInput + // IotHub properties + Properties IotHubPropertiesPtrInput + // The name of the resource group that contains the IoT hub. + ResourceGroupName pulumi.StringInput + // The name of the IoT hub. + ResourceName pulumi.StringInput + // IotHub SKU info + Sku IotHubSkuInfoInput + // The resource tags. + Tags pulumi.StringMapInput +} + +func (IotHubResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iotHubResourceArgs)(nil)).Elem() +} diff --git a/sdk/go/azurerm/devices/v20200801/iotHubResourceEventHubConsumerGroup.go b/sdk/go/azurerm/devices/v20200801/iotHubResourceEventHubConsumerGroup.go new file mode 100644 index 000000000000..aa299eb35094 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/iotHubResourceEventHubConsumerGroup.go @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The properties of the EventHubConsumerGroupInfo object. +type IotHubResourceEventHubConsumerGroup struct { + pulumi.CustomResourceState + + // The etag. + Etag pulumi.StringOutput `pulumi:"etag"` + // The Event Hub-compatible consumer group name. + Name pulumi.StringOutput `pulumi:"name"` + // The tags. + Properties pulumi.StringMapOutput `pulumi:"properties"` + // the resource type. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewIotHubResourceEventHubConsumerGroup registers a new resource with the given unique name, arguments, and options. +func NewIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, + name string, args *IotHubResourceEventHubConsumerGroupArgs, opts ...pulumi.ResourceOption) (*IotHubResourceEventHubConsumerGroup, error) { + if args == nil || args.EventHubEndpointName == nil { + return nil, errors.New("missing required argument 'EventHubEndpointName'") + } + if args == nil || args.Name == nil { + return nil, errors.New("missing required argument 'Name'") + } + if args == nil || args.ResourceGroupName == nil { + return nil, errors.New("missing required argument 'ResourceGroupName'") + } + if args == nil || args.ResourceName == nil { + return nil, errors.New("missing required argument 'ResourceName'") + } + if args == nil { + args = &IotHubResourceEventHubConsumerGroupArgs{} + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), + }, + { + Type: pulumi.String("azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), + }, + }) + opts = append(opts, aliases) + var resource IotHubResourceEventHubConsumerGroup + err := ctx.RegisterResource("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIotHubResourceEventHubConsumerGroup gets an existing IotHubResourceEventHubConsumerGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIotHubResourceEventHubConsumerGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IotHubResourceEventHubConsumerGroupState, opts ...pulumi.ResourceOption) (*IotHubResourceEventHubConsumerGroup, error) { + var resource IotHubResourceEventHubConsumerGroup + err := ctx.ReadResource("azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IotHubResourceEventHubConsumerGroup resources. +type iotHubResourceEventHubConsumerGroupState struct { + // The etag. + Etag *string `pulumi:"etag"` + // The Event Hub-compatible consumer group name. + Name *string `pulumi:"name"` + // The tags. + Properties map[string]string `pulumi:"properties"` + // the resource type. + Type *string `pulumi:"type"` +} + +type IotHubResourceEventHubConsumerGroupState struct { + // The etag. + Etag pulumi.StringPtrInput + // The Event Hub-compatible consumer group name. + Name pulumi.StringPtrInput + // The tags. + Properties pulumi.StringMapInput + // the resource type. + Type pulumi.StringPtrInput +} + +func (IotHubResourceEventHubConsumerGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*iotHubResourceEventHubConsumerGroupState)(nil)).Elem() +} + +type iotHubResourceEventHubConsumerGroupArgs struct { + // The name of the Event Hub-compatible endpoint in the IoT hub. + EventHubEndpointName string `pulumi:"eventHubEndpointName"` + // The name of the consumer group to add. + Name string `pulumi:"name"` + // The EventHub consumer group name. + Properties *EventHubConsumerGroupName `pulumi:"properties"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The set of arguments for constructing a IotHubResourceEventHubConsumerGroup resource. +type IotHubResourceEventHubConsumerGroupArgs struct { + // The name of the Event Hub-compatible endpoint in the IoT hub. + EventHubEndpointName pulumi.StringInput + // The name of the consumer group to add. + Name pulumi.StringInput + // The EventHub consumer group name. + Properties EventHubConsumerGroupNamePtrInput + // The name of the resource group that contains the IoT hub. + ResourceGroupName pulumi.StringInput + // The name of the IoT hub. + ResourceName pulumi.StringInput +} + +func (IotHubResourceEventHubConsumerGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iotHubResourceEventHubConsumerGroupArgs)(nil)).Elem() +} diff --git a/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeys.go b/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeys.go new file mode 100644 index 000000000000..f1cad7c013d2 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeys.go @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListIotHubResourceKeys(ctx *pulumi.Context, args *ListIotHubResourceKeysArgs, opts ...pulumi.InvokeOption) (*ListIotHubResourceKeysResult, error) { + var rv ListIotHubResourceKeysResult + err := ctx.Invoke("azurerm:devices/v20200801:listIotHubResourceKeys", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListIotHubResourceKeysArgs struct { + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The list of shared access policies with a next link. +type ListIotHubResourceKeysResult struct { + // The next link. + NextLink string `pulumi:"nextLink"` + // The list of shared access policies. + Value []SharedAccessSignatureAuthorizationRuleResponse `pulumi:"value"` +} diff --git a/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeysForKeyName.go b/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeysForKeyName.go new file mode 100644 index 000000000000..01376517f3a9 --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/listIotHubResourceKeysForKeyName.go @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListIotHubResourceKeysForKeyName(ctx *pulumi.Context, args *ListIotHubResourceKeysForKeyNameArgs, opts ...pulumi.InvokeOption) (*ListIotHubResourceKeysForKeyNameResult, error) { + var rv ListIotHubResourceKeysForKeyNameResult + err := ctx.Invoke("azurerm:devices/v20200801:listIotHubResourceKeysForKeyName", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListIotHubResourceKeysForKeyNameArgs struct { + // The name of the shared access policy. + KeyName string `pulumi:"keyName"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The properties of an IoT hub shared access policy. +type ListIotHubResourceKeysForKeyNameResult struct { + // The name of the shared access policy. + KeyName string `pulumi:"keyName"` + // The primary key. + PrimaryKey *string `pulumi:"primaryKey"` + // The permissions assigned to the shared access policy. + Rights string `pulumi:"rights"` + // The secondary key. + SecondaryKey *string `pulumi:"secondaryKey"` +} diff --git a/sdk/go/azurerm/devices/v20200801/privateEndpointConnection.go b/sdk/go/azurerm/devices/v20200801/privateEndpointConnection.go new file mode 100644 index 000000000000..ff0ddb5eeefa --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/privateEndpointConnection.go @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The private endpoint connection of an IotHub +type PrivateEndpointConnection struct { + pulumi.CustomResourceState + + // The resource name. + Name pulumi.StringOutput `pulumi:"name"` + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesResponseOutput `pulumi:"properties"` + // The resource type. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewPrivateEndpointConnection registers a new resource with the given unique name, arguments, and options. +func NewPrivateEndpointConnection(ctx *pulumi.Context, + name string, args *PrivateEndpointConnectionArgs, opts ...pulumi.ResourceOption) (*PrivateEndpointConnection, error) { + if args == nil || args.PrivateEndpointConnectionName == nil { + return nil, errors.New("missing required argument 'PrivateEndpointConnectionName'") + } + if args == nil || args.Properties == nil { + return nil, errors.New("missing required argument 'Properties'") + } + if args == nil || args.ResourceGroupName == nil { + return nil, errors.New("missing required argument 'ResourceGroupName'") + } + if args == nil || args.ResourceName == nil { + return nil, errors.New("missing required argument 'ResourceName'") + } + if args == nil { + args = &PrivateEndpointConnectionArgs{} + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azurerm:devices/latest:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azurerm:devices/v20200301:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azurerm:devices/v20200401:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azurerm:devices/v20200615:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azurerm:devices/v20200710preview:PrivateEndpointConnection"), + }, + }) + opts = append(opts, aliases) + var resource PrivateEndpointConnection + err := ctx.RegisterResource("azurerm:devices/v20200801:PrivateEndpointConnection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPrivateEndpointConnection gets an existing PrivateEndpointConnection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPrivateEndpointConnection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PrivateEndpointConnectionState, opts ...pulumi.ResourceOption) (*PrivateEndpointConnection, error) { + var resource PrivateEndpointConnection + err := ctx.ReadResource("azurerm:devices/v20200801:PrivateEndpointConnection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PrivateEndpointConnection resources. +type privateEndpointConnectionState struct { + // The resource name. + Name *string `pulumi:"name"` + // The properties of a private endpoint connection + Properties *PrivateEndpointConnectionPropertiesResponse `pulumi:"properties"` + // The resource type. + Type *string `pulumi:"type"` +} + +type PrivateEndpointConnectionState struct { + // The resource name. + Name pulumi.StringPtrInput + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesResponsePtrInput + // The resource type. + Type pulumi.StringPtrInput +} + +func (PrivateEndpointConnectionState) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointConnectionState)(nil)).Elem() +} + +type privateEndpointConnectionArgs struct { + // The name of the private endpoint connection + PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"` + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionProperties `pulumi:"properties"` + // The name of the resource group that contains the IoT hub. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the IoT hub. + ResourceName string `pulumi:"resourceName"` +} + +// The set of arguments for constructing a PrivateEndpointConnection resource. +type PrivateEndpointConnectionArgs struct { + // The name of the private endpoint connection + PrivateEndpointConnectionName pulumi.StringInput + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesInput + // The name of the resource group that contains the IoT hub. + ResourceGroupName pulumi.StringInput + // The name of the IoT hub. + ResourceName pulumi.StringInput +} + +func (PrivateEndpointConnectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointConnectionArgs)(nil)).Elem() +} diff --git a/sdk/go/azurerm/devices/v20200801/pulumiTypes.go b/sdk/go/azurerm/devices/v20200801/pulumiTypes.go new file mode 100644 index 000000000000..9b0e46de5a7a --- /dev/null +++ b/sdk/go/azurerm/devices/v20200801/pulumiTypes.go @@ -0,0 +1,7855 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20200801 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The description of an X509 CA Certificate. +type CertificateProperties struct { + // The certificate content + Certificate *string `pulumi:"certificate"` +} + +// CertificatePropertiesInput is an input type that accepts CertificatePropertiesArgs and CertificatePropertiesOutput values. +// You can construct a concrete instance of `CertificatePropertiesInput` via: +// +// CertificatePropertiesArgs{...} +type CertificatePropertiesInput interface { + pulumi.Input + + ToCertificatePropertiesOutput() CertificatePropertiesOutput + ToCertificatePropertiesOutputWithContext(context.Context) CertificatePropertiesOutput +} + +// The description of an X509 CA Certificate. +type CertificatePropertiesArgs struct { + // The certificate content + Certificate pulumi.StringPtrInput `pulumi:"certificate"` +} + +func (CertificatePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CertificateProperties)(nil)).Elem() +} + +func (i CertificatePropertiesArgs) ToCertificatePropertiesOutput() CertificatePropertiesOutput { + return i.ToCertificatePropertiesOutputWithContext(context.Background()) +} + +func (i CertificatePropertiesArgs) ToCertificatePropertiesOutputWithContext(ctx context.Context) CertificatePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesOutput) +} + +func (i CertificatePropertiesArgs) ToCertificatePropertiesPtrOutput() CertificatePropertiesPtrOutput { + return i.ToCertificatePropertiesPtrOutputWithContext(context.Background()) +} + +func (i CertificatePropertiesArgs) ToCertificatePropertiesPtrOutputWithContext(ctx context.Context) CertificatePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesOutput).ToCertificatePropertiesPtrOutputWithContext(ctx) +} + +// CertificatePropertiesPtrInput is an input type that accepts CertificatePropertiesArgs, CertificatePropertiesPtr and CertificatePropertiesPtrOutput values. +// You can construct a concrete instance of `CertificatePropertiesPtrInput` via: +// +// CertificatePropertiesArgs{...} +// +// or: +// +// nil +type CertificatePropertiesPtrInput interface { + pulumi.Input + + ToCertificatePropertiesPtrOutput() CertificatePropertiesPtrOutput + ToCertificatePropertiesPtrOutputWithContext(context.Context) CertificatePropertiesPtrOutput +} + +type certificatePropertiesPtrType CertificatePropertiesArgs + +func CertificatePropertiesPtr(v *CertificatePropertiesArgs) CertificatePropertiesPtrInput { + return (*certificatePropertiesPtrType)(v) +} + +func (*certificatePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CertificateProperties)(nil)).Elem() +} + +func (i *certificatePropertiesPtrType) ToCertificatePropertiesPtrOutput() CertificatePropertiesPtrOutput { + return i.ToCertificatePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *certificatePropertiesPtrType) ToCertificatePropertiesPtrOutputWithContext(ctx context.Context) CertificatePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesPtrOutput) +} + +// The description of an X509 CA Certificate. +type CertificatePropertiesOutput struct{ *pulumi.OutputState } + +func (CertificatePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CertificateProperties)(nil)).Elem() +} + +func (o CertificatePropertiesOutput) ToCertificatePropertiesOutput() CertificatePropertiesOutput { + return o +} + +func (o CertificatePropertiesOutput) ToCertificatePropertiesOutputWithContext(ctx context.Context) CertificatePropertiesOutput { + return o +} + +func (o CertificatePropertiesOutput) ToCertificatePropertiesPtrOutput() CertificatePropertiesPtrOutput { + return o.ToCertificatePropertiesPtrOutputWithContext(context.Background()) +} + +func (o CertificatePropertiesOutput) ToCertificatePropertiesPtrOutputWithContext(ctx context.Context) CertificatePropertiesPtrOutput { + return o.ApplyT(func(v CertificateProperties) *CertificateProperties { + return &v + }).(CertificatePropertiesPtrOutput) +} + +// The certificate content +func (o CertificatePropertiesOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v CertificateProperties) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +type CertificatePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CertificatePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CertificateProperties)(nil)).Elem() +} + +func (o CertificatePropertiesPtrOutput) ToCertificatePropertiesPtrOutput() CertificatePropertiesPtrOutput { + return o +} + +func (o CertificatePropertiesPtrOutput) ToCertificatePropertiesPtrOutputWithContext(ctx context.Context) CertificatePropertiesPtrOutput { + return o +} + +func (o CertificatePropertiesPtrOutput) Elem() CertificatePropertiesOutput { + return o.ApplyT(func(v *CertificateProperties) CertificateProperties { return *v }).(CertificatePropertiesOutput) +} + +// The certificate content +func (o CertificatePropertiesPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificateProperties) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) +} + +// The description of an X509 CA Certificate. +type CertificatePropertiesResponse struct { + // The certificate content + Certificate *string `pulumi:"certificate"` + // The certificate's create date and time. + Created string `pulumi:"created"` + // The certificate's expiration date and time. + Expiry string `pulumi:"expiry"` + // Determines whether certificate has been verified. + IsVerified bool `pulumi:"isVerified"` + // The certificate's subject name. + Subject string `pulumi:"subject"` + // The certificate's thumbprint. + Thumbprint string `pulumi:"thumbprint"` + // The certificate's last update date and time. + Updated string `pulumi:"updated"` +} + +// CertificatePropertiesResponseInput is an input type that accepts CertificatePropertiesResponseArgs and CertificatePropertiesResponseOutput values. +// You can construct a concrete instance of `CertificatePropertiesResponseInput` via: +// +// CertificatePropertiesResponseArgs{...} +type CertificatePropertiesResponseInput interface { + pulumi.Input + + ToCertificatePropertiesResponseOutput() CertificatePropertiesResponseOutput + ToCertificatePropertiesResponseOutputWithContext(context.Context) CertificatePropertiesResponseOutput +} + +// The description of an X509 CA Certificate. +type CertificatePropertiesResponseArgs struct { + // The certificate content + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // The certificate's create date and time. + Created pulumi.StringInput `pulumi:"created"` + // The certificate's expiration date and time. + Expiry pulumi.StringInput `pulumi:"expiry"` + // Determines whether certificate has been verified. + IsVerified pulumi.BoolInput `pulumi:"isVerified"` + // The certificate's subject name. + Subject pulumi.StringInput `pulumi:"subject"` + // The certificate's thumbprint. + Thumbprint pulumi.StringInput `pulumi:"thumbprint"` + // The certificate's last update date and time. + Updated pulumi.StringInput `pulumi:"updated"` +} + +func (CertificatePropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CertificatePropertiesResponse)(nil)).Elem() +} + +func (i CertificatePropertiesResponseArgs) ToCertificatePropertiesResponseOutput() CertificatePropertiesResponseOutput { + return i.ToCertificatePropertiesResponseOutputWithContext(context.Background()) +} + +func (i CertificatePropertiesResponseArgs) ToCertificatePropertiesResponseOutputWithContext(ctx context.Context) CertificatePropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesResponseOutput) +} + +func (i CertificatePropertiesResponseArgs) ToCertificatePropertiesResponsePtrOutput() CertificatePropertiesResponsePtrOutput { + return i.ToCertificatePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i CertificatePropertiesResponseArgs) ToCertificatePropertiesResponsePtrOutputWithContext(ctx context.Context) CertificatePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesResponseOutput).ToCertificatePropertiesResponsePtrOutputWithContext(ctx) +} + +// CertificatePropertiesResponsePtrInput is an input type that accepts CertificatePropertiesResponseArgs, CertificatePropertiesResponsePtr and CertificatePropertiesResponsePtrOutput values. +// You can construct a concrete instance of `CertificatePropertiesResponsePtrInput` via: +// +// CertificatePropertiesResponseArgs{...} +// +// or: +// +// nil +type CertificatePropertiesResponsePtrInput interface { + pulumi.Input + + ToCertificatePropertiesResponsePtrOutput() CertificatePropertiesResponsePtrOutput + ToCertificatePropertiesResponsePtrOutputWithContext(context.Context) CertificatePropertiesResponsePtrOutput +} + +type certificatePropertiesResponsePtrType CertificatePropertiesResponseArgs + +func CertificatePropertiesResponsePtr(v *CertificatePropertiesResponseArgs) CertificatePropertiesResponsePtrInput { + return (*certificatePropertiesResponsePtrType)(v) +} + +func (*certificatePropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CertificatePropertiesResponse)(nil)).Elem() +} + +func (i *certificatePropertiesResponsePtrType) ToCertificatePropertiesResponsePtrOutput() CertificatePropertiesResponsePtrOutput { + return i.ToCertificatePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *certificatePropertiesResponsePtrType) ToCertificatePropertiesResponsePtrOutputWithContext(ctx context.Context) CertificatePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePropertiesResponsePtrOutput) +} + +// The description of an X509 CA Certificate. +type CertificatePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CertificatePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CertificatePropertiesResponse)(nil)).Elem() +} + +func (o CertificatePropertiesResponseOutput) ToCertificatePropertiesResponseOutput() CertificatePropertiesResponseOutput { + return o +} + +func (o CertificatePropertiesResponseOutput) ToCertificatePropertiesResponseOutputWithContext(ctx context.Context) CertificatePropertiesResponseOutput { + return o +} + +func (o CertificatePropertiesResponseOutput) ToCertificatePropertiesResponsePtrOutput() CertificatePropertiesResponsePtrOutput { + return o.ToCertificatePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o CertificatePropertiesResponseOutput) ToCertificatePropertiesResponsePtrOutputWithContext(ctx context.Context) CertificatePropertiesResponsePtrOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) *CertificatePropertiesResponse { + return &v + }).(CertificatePropertiesResponsePtrOutput) +} + +// The certificate content +func (o CertificatePropertiesResponseOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// The certificate's create date and time. +func (o CertificatePropertiesResponseOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) string { return v.Created }).(pulumi.StringOutput) +} + +// The certificate's expiration date and time. +func (o CertificatePropertiesResponseOutput) Expiry() pulumi.StringOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) string { return v.Expiry }).(pulumi.StringOutput) +} + +// Determines whether certificate has been verified. +func (o CertificatePropertiesResponseOutput) IsVerified() pulumi.BoolOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) bool { return v.IsVerified }).(pulumi.BoolOutput) +} + +// The certificate's subject name. +func (o CertificatePropertiesResponseOutput) Subject() pulumi.StringOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) string { return v.Subject }).(pulumi.StringOutput) +} + +// The certificate's thumbprint. +func (o CertificatePropertiesResponseOutput) Thumbprint() pulumi.StringOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) string { return v.Thumbprint }).(pulumi.StringOutput) +} + +// The certificate's last update date and time. +func (o CertificatePropertiesResponseOutput) Updated() pulumi.StringOutput { + return o.ApplyT(func(v CertificatePropertiesResponse) string { return v.Updated }).(pulumi.StringOutput) +} + +type CertificatePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (CertificatePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CertificatePropertiesResponse)(nil)).Elem() +} + +func (o CertificatePropertiesResponsePtrOutput) ToCertificatePropertiesResponsePtrOutput() CertificatePropertiesResponsePtrOutput { + return o +} + +func (o CertificatePropertiesResponsePtrOutput) ToCertificatePropertiesResponsePtrOutputWithContext(ctx context.Context) CertificatePropertiesResponsePtrOutput { + return o +} + +func (o CertificatePropertiesResponsePtrOutput) Elem() CertificatePropertiesResponseOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) CertificatePropertiesResponse { return *v }).(CertificatePropertiesResponseOutput) +} + +// The certificate content +func (o CertificatePropertiesResponsePtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) +} + +// The certificate's create date and time. +func (o CertificatePropertiesResponsePtrOutput) Created() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Created + }).(pulumi.StringPtrOutput) +} + +// The certificate's expiration date and time. +func (o CertificatePropertiesResponsePtrOutput) Expiry() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Expiry + }).(pulumi.StringPtrOutput) +} + +// Determines whether certificate has been verified. +func (o CertificatePropertiesResponsePtrOutput) IsVerified() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *bool { + if v == nil { + return nil + } + return &v.IsVerified + }).(pulumi.BoolPtrOutput) +} + +// The certificate's subject name. +func (o CertificatePropertiesResponsePtrOutput) Subject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Subject + }).(pulumi.StringPtrOutput) +} + +// The certificate's thumbprint. +func (o CertificatePropertiesResponsePtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Thumbprint + }).(pulumi.StringPtrOutput) +} + +// The certificate's last update date and time. +func (o CertificatePropertiesResponsePtrOutput) Updated() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CertificatePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Updated + }).(pulumi.StringPtrOutput) +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDeviceProperties struct { + // The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + DefaultTtlAsIso8601 *string `pulumi:"defaultTtlAsIso8601"` + // The properties of the feedback queue for cloud-to-device messages. + Feedback *FeedbackProperties `pulumi:"feedback"` + // The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` +} + +// CloudToDevicePropertiesInput is an input type that accepts CloudToDevicePropertiesArgs and CloudToDevicePropertiesOutput values. +// You can construct a concrete instance of `CloudToDevicePropertiesInput` via: +// +// CloudToDevicePropertiesArgs{...} +type CloudToDevicePropertiesInput interface { + pulumi.Input + + ToCloudToDevicePropertiesOutput() CloudToDevicePropertiesOutput + ToCloudToDevicePropertiesOutputWithContext(context.Context) CloudToDevicePropertiesOutput +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDevicePropertiesArgs struct { + // The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + DefaultTtlAsIso8601 pulumi.StringPtrInput `pulumi:"defaultTtlAsIso8601"` + // The properties of the feedback queue for cloud-to-device messages. + Feedback FeedbackPropertiesPtrInput `pulumi:"feedback"` + // The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` +} + +func (CloudToDevicePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudToDeviceProperties)(nil)).Elem() +} + +func (i CloudToDevicePropertiesArgs) ToCloudToDevicePropertiesOutput() CloudToDevicePropertiesOutput { + return i.ToCloudToDevicePropertiesOutputWithContext(context.Background()) +} + +func (i CloudToDevicePropertiesArgs) ToCloudToDevicePropertiesOutputWithContext(ctx context.Context) CloudToDevicePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesOutput) +} + +func (i CloudToDevicePropertiesArgs) ToCloudToDevicePropertiesPtrOutput() CloudToDevicePropertiesPtrOutput { + return i.ToCloudToDevicePropertiesPtrOutputWithContext(context.Background()) +} + +func (i CloudToDevicePropertiesArgs) ToCloudToDevicePropertiesPtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesOutput).ToCloudToDevicePropertiesPtrOutputWithContext(ctx) +} + +// CloudToDevicePropertiesPtrInput is an input type that accepts CloudToDevicePropertiesArgs, CloudToDevicePropertiesPtr and CloudToDevicePropertiesPtrOutput values. +// You can construct a concrete instance of `CloudToDevicePropertiesPtrInput` via: +// +// CloudToDevicePropertiesArgs{...} +// +// or: +// +// nil +type CloudToDevicePropertiesPtrInput interface { + pulumi.Input + + ToCloudToDevicePropertiesPtrOutput() CloudToDevicePropertiesPtrOutput + ToCloudToDevicePropertiesPtrOutputWithContext(context.Context) CloudToDevicePropertiesPtrOutput +} + +type cloudToDevicePropertiesPtrType CloudToDevicePropertiesArgs + +func CloudToDevicePropertiesPtr(v *CloudToDevicePropertiesArgs) CloudToDevicePropertiesPtrInput { + return (*cloudToDevicePropertiesPtrType)(v) +} + +func (*cloudToDevicePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudToDeviceProperties)(nil)).Elem() +} + +func (i *cloudToDevicePropertiesPtrType) ToCloudToDevicePropertiesPtrOutput() CloudToDevicePropertiesPtrOutput { + return i.ToCloudToDevicePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *cloudToDevicePropertiesPtrType) ToCloudToDevicePropertiesPtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesPtrOutput) +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDevicePropertiesOutput struct{ *pulumi.OutputState } + +func (CloudToDevicePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudToDeviceProperties)(nil)).Elem() +} + +func (o CloudToDevicePropertiesOutput) ToCloudToDevicePropertiesOutput() CloudToDevicePropertiesOutput { + return o +} + +func (o CloudToDevicePropertiesOutput) ToCloudToDevicePropertiesOutputWithContext(ctx context.Context) CloudToDevicePropertiesOutput { + return o +} + +func (o CloudToDevicePropertiesOutput) ToCloudToDevicePropertiesPtrOutput() CloudToDevicePropertiesPtrOutput { + return o.ToCloudToDevicePropertiesPtrOutputWithContext(context.Background()) +} + +func (o CloudToDevicePropertiesOutput) ToCloudToDevicePropertiesPtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesPtrOutput { + return o.ApplyT(func(v CloudToDeviceProperties) *CloudToDeviceProperties { + return &v + }).(CloudToDevicePropertiesPtrOutput) +} + +// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesOutput) DefaultTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudToDeviceProperties) *string { return v.DefaultTtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +func (o CloudToDevicePropertiesOutput) Feedback() FeedbackPropertiesPtrOutput { + return o.ApplyT(func(v CloudToDeviceProperties) *FeedbackProperties { return v.Feedback }).(FeedbackPropertiesPtrOutput) +} + +// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v CloudToDeviceProperties) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +type CloudToDevicePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CloudToDevicePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudToDeviceProperties)(nil)).Elem() +} + +func (o CloudToDevicePropertiesPtrOutput) ToCloudToDevicePropertiesPtrOutput() CloudToDevicePropertiesPtrOutput { + return o +} + +func (o CloudToDevicePropertiesPtrOutput) ToCloudToDevicePropertiesPtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesPtrOutput { + return o +} + +func (o CloudToDevicePropertiesPtrOutput) Elem() CloudToDevicePropertiesOutput { + return o.ApplyT(func(v *CloudToDeviceProperties) CloudToDeviceProperties { return *v }).(CloudToDevicePropertiesOutput) +} + +// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesPtrOutput) DefaultTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudToDeviceProperties) *string { + if v == nil { + return nil + } + return v.DefaultTtlAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +func (o CloudToDevicePropertiesPtrOutput) Feedback() FeedbackPropertiesPtrOutput { + return o.ApplyT(func(v *CloudToDeviceProperties) *FeedbackProperties { + if v == nil { + return nil + } + return v.Feedback + }).(FeedbackPropertiesPtrOutput) +} + +// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CloudToDeviceProperties) *int { + if v == nil { + return nil + } + return v.MaxDeliveryCount + }).(pulumi.IntPtrOutput) +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDevicePropertiesResponse struct { + // The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + DefaultTtlAsIso8601 *string `pulumi:"defaultTtlAsIso8601"` + // The properties of the feedback queue for cloud-to-device messages. + Feedback *FeedbackPropertiesResponse `pulumi:"feedback"` + // The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` +} + +// CloudToDevicePropertiesResponseInput is an input type that accepts CloudToDevicePropertiesResponseArgs and CloudToDevicePropertiesResponseOutput values. +// You can construct a concrete instance of `CloudToDevicePropertiesResponseInput` via: +// +// CloudToDevicePropertiesResponseArgs{...} +type CloudToDevicePropertiesResponseInput interface { + pulumi.Input + + ToCloudToDevicePropertiesResponseOutput() CloudToDevicePropertiesResponseOutput + ToCloudToDevicePropertiesResponseOutputWithContext(context.Context) CloudToDevicePropertiesResponseOutput +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDevicePropertiesResponseArgs struct { + // The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + DefaultTtlAsIso8601 pulumi.StringPtrInput `pulumi:"defaultTtlAsIso8601"` + // The properties of the feedback queue for cloud-to-device messages. + Feedback FeedbackPropertiesResponsePtrInput `pulumi:"feedback"` + // The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` +} + +func (CloudToDevicePropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudToDevicePropertiesResponse)(nil)).Elem() +} + +func (i CloudToDevicePropertiesResponseArgs) ToCloudToDevicePropertiesResponseOutput() CloudToDevicePropertiesResponseOutput { + return i.ToCloudToDevicePropertiesResponseOutputWithContext(context.Background()) +} + +func (i CloudToDevicePropertiesResponseArgs) ToCloudToDevicePropertiesResponseOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesResponseOutput) +} + +func (i CloudToDevicePropertiesResponseArgs) ToCloudToDevicePropertiesResponsePtrOutput() CloudToDevicePropertiesResponsePtrOutput { + return i.ToCloudToDevicePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i CloudToDevicePropertiesResponseArgs) ToCloudToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesResponseOutput).ToCloudToDevicePropertiesResponsePtrOutputWithContext(ctx) +} + +// CloudToDevicePropertiesResponsePtrInput is an input type that accepts CloudToDevicePropertiesResponseArgs, CloudToDevicePropertiesResponsePtr and CloudToDevicePropertiesResponsePtrOutput values. +// You can construct a concrete instance of `CloudToDevicePropertiesResponsePtrInput` via: +// +// CloudToDevicePropertiesResponseArgs{...} +// +// or: +// +// nil +type CloudToDevicePropertiesResponsePtrInput interface { + pulumi.Input + + ToCloudToDevicePropertiesResponsePtrOutput() CloudToDevicePropertiesResponsePtrOutput + ToCloudToDevicePropertiesResponsePtrOutputWithContext(context.Context) CloudToDevicePropertiesResponsePtrOutput +} + +type cloudToDevicePropertiesResponsePtrType CloudToDevicePropertiesResponseArgs + +func CloudToDevicePropertiesResponsePtr(v *CloudToDevicePropertiesResponseArgs) CloudToDevicePropertiesResponsePtrInput { + return (*cloudToDevicePropertiesResponsePtrType)(v) +} + +func (*cloudToDevicePropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudToDevicePropertiesResponse)(nil)).Elem() +} + +func (i *cloudToDevicePropertiesResponsePtrType) ToCloudToDevicePropertiesResponsePtrOutput() CloudToDevicePropertiesResponsePtrOutput { + return i.ToCloudToDevicePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *cloudToDevicePropertiesResponsePtrType) ToCloudToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudToDevicePropertiesResponsePtrOutput) +} + +// The IoT hub cloud-to-device messaging properties. +type CloudToDevicePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CloudToDevicePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudToDevicePropertiesResponse)(nil)).Elem() +} + +func (o CloudToDevicePropertiesResponseOutput) ToCloudToDevicePropertiesResponseOutput() CloudToDevicePropertiesResponseOutput { + return o +} + +func (o CloudToDevicePropertiesResponseOutput) ToCloudToDevicePropertiesResponseOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponseOutput { + return o +} + +func (o CloudToDevicePropertiesResponseOutput) ToCloudToDevicePropertiesResponsePtrOutput() CloudToDevicePropertiesResponsePtrOutput { + return o.ToCloudToDevicePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o CloudToDevicePropertiesResponseOutput) ToCloudToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponsePtrOutput { + return o.ApplyT(func(v CloudToDevicePropertiesResponse) *CloudToDevicePropertiesResponse { + return &v + }).(CloudToDevicePropertiesResponsePtrOutput) +} + +// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesResponseOutput) DefaultTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudToDevicePropertiesResponse) *string { return v.DefaultTtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +func (o CloudToDevicePropertiesResponseOutput) Feedback() FeedbackPropertiesResponsePtrOutput { + return o.ApplyT(func(v CloudToDevicePropertiesResponse) *FeedbackPropertiesResponse { return v.Feedback }).(FeedbackPropertiesResponsePtrOutput) +} + +// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesResponseOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v CloudToDevicePropertiesResponse) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +type CloudToDevicePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (CloudToDevicePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudToDevicePropertiesResponse)(nil)).Elem() +} + +func (o CloudToDevicePropertiesResponsePtrOutput) ToCloudToDevicePropertiesResponsePtrOutput() CloudToDevicePropertiesResponsePtrOutput { + return o +} + +func (o CloudToDevicePropertiesResponsePtrOutput) ToCloudToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) CloudToDevicePropertiesResponsePtrOutput { + return o +} + +func (o CloudToDevicePropertiesResponsePtrOutput) Elem() CloudToDevicePropertiesResponseOutput { + return o.ApplyT(func(v *CloudToDevicePropertiesResponse) CloudToDevicePropertiesResponse { return *v }).(CloudToDevicePropertiesResponseOutput) +} + +// The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesResponsePtrOutput) DefaultTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudToDevicePropertiesResponse) *string { + if v == nil { + return nil + } + return v.DefaultTtlAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +func (o CloudToDevicePropertiesResponsePtrOutput) Feedback() FeedbackPropertiesResponsePtrOutput { + return o.ApplyT(func(v *CloudToDevicePropertiesResponse) *FeedbackPropertiesResponse { + if v == nil { + return nil + } + return v.Feedback + }).(FeedbackPropertiesResponsePtrOutput) +} + +// The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o CloudToDevicePropertiesResponsePtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CloudToDevicePropertiesResponse) *int { + if v == nil { + return nil + } + return v.MaxDeliveryCount + }).(pulumi.IntPtrOutput) +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentProperties struct { + // The list of endpoints for which the enrichment is applied to the message. + EndpointNames []string `pulumi:"endpointNames"` + // The key or name for the enrichment property. + Key string `pulumi:"key"` + // The value for the enrichment property. + Value string `pulumi:"value"` +} + +// EnrichmentPropertiesInput is an input type that accepts EnrichmentPropertiesArgs and EnrichmentPropertiesOutput values. +// You can construct a concrete instance of `EnrichmentPropertiesInput` via: +// +// EnrichmentPropertiesArgs{...} +type EnrichmentPropertiesInput interface { + pulumi.Input + + ToEnrichmentPropertiesOutput() EnrichmentPropertiesOutput + ToEnrichmentPropertiesOutputWithContext(context.Context) EnrichmentPropertiesOutput +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentPropertiesArgs struct { + // The list of endpoints for which the enrichment is applied to the message. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // The key or name for the enrichment property. + Key pulumi.StringInput `pulumi:"key"` + // The value for the enrichment property. + Value pulumi.StringInput `pulumi:"value"` +} + +func (EnrichmentPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EnrichmentProperties)(nil)).Elem() +} + +func (i EnrichmentPropertiesArgs) ToEnrichmentPropertiesOutput() EnrichmentPropertiesOutput { + return i.ToEnrichmentPropertiesOutputWithContext(context.Background()) +} + +func (i EnrichmentPropertiesArgs) ToEnrichmentPropertiesOutputWithContext(ctx context.Context) EnrichmentPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnrichmentPropertiesOutput) +} + +// EnrichmentPropertiesArrayInput is an input type that accepts EnrichmentPropertiesArray and EnrichmentPropertiesArrayOutput values. +// You can construct a concrete instance of `EnrichmentPropertiesArrayInput` via: +// +// EnrichmentPropertiesArray{ EnrichmentPropertiesArgs{...} } +type EnrichmentPropertiesArrayInput interface { + pulumi.Input + + ToEnrichmentPropertiesArrayOutput() EnrichmentPropertiesArrayOutput + ToEnrichmentPropertiesArrayOutputWithContext(context.Context) EnrichmentPropertiesArrayOutput +} + +type EnrichmentPropertiesArray []EnrichmentPropertiesInput + +func (EnrichmentPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EnrichmentProperties)(nil)).Elem() +} + +func (i EnrichmentPropertiesArray) ToEnrichmentPropertiesArrayOutput() EnrichmentPropertiesArrayOutput { + return i.ToEnrichmentPropertiesArrayOutputWithContext(context.Background()) +} + +func (i EnrichmentPropertiesArray) ToEnrichmentPropertiesArrayOutputWithContext(ctx context.Context) EnrichmentPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnrichmentPropertiesArrayOutput) +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentPropertiesOutput struct{ *pulumi.OutputState } + +func (EnrichmentPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EnrichmentProperties)(nil)).Elem() +} + +func (o EnrichmentPropertiesOutput) ToEnrichmentPropertiesOutput() EnrichmentPropertiesOutput { + return o +} + +func (o EnrichmentPropertiesOutput) ToEnrichmentPropertiesOutputWithContext(ctx context.Context) EnrichmentPropertiesOutput { + return o +} + +// The list of endpoints for which the enrichment is applied to the message. +func (o EnrichmentPropertiesOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v EnrichmentProperties) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// The key or name for the enrichment property. +func (o EnrichmentPropertiesOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v EnrichmentProperties) string { return v.Key }).(pulumi.StringOutput) +} + +// The value for the enrichment property. +func (o EnrichmentPropertiesOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v EnrichmentProperties) string { return v.Value }).(pulumi.StringOutput) +} + +type EnrichmentPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (EnrichmentPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EnrichmentProperties)(nil)).Elem() +} + +func (o EnrichmentPropertiesArrayOutput) ToEnrichmentPropertiesArrayOutput() EnrichmentPropertiesArrayOutput { + return o +} + +func (o EnrichmentPropertiesArrayOutput) ToEnrichmentPropertiesArrayOutputWithContext(ctx context.Context) EnrichmentPropertiesArrayOutput { + return o +} + +func (o EnrichmentPropertiesArrayOutput) Index(i pulumi.IntInput) EnrichmentPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnrichmentProperties { + return vs[0].([]EnrichmentProperties)[vs[1].(int)] + }).(EnrichmentPropertiesOutput) +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentPropertiesResponse struct { + // The list of endpoints for which the enrichment is applied to the message. + EndpointNames []string `pulumi:"endpointNames"` + // The key or name for the enrichment property. + Key string `pulumi:"key"` + // The value for the enrichment property. + Value string `pulumi:"value"` +} + +// EnrichmentPropertiesResponseInput is an input type that accepts EnrichmentPropertiesResponseArgs and EnrichmentPropertiesResponseOutput values. +// You can construct a concrete instance of `EnrichmentPropertiesResponseInput` via: +// +// EnrichmentPropertiesResponseArgs{...} +type EnrichmentPropertiesResponseInput interface { + pulumi.Input + + ToEnrichmentPropertiesResponseOutput() EnrichmentPropertiesResponseOutput + ToEnrichmentPropertiesResponseOutputWithContext(context.Context) EnrichmentPropertiesResponseOutput +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentPropertiesResponseArgs struct { + // The list of endpoints for which the enrichment is applied to the message. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // The key or name for the enrichment property. + Key pulumi.StringInput `pulumi:"key"` + // The value for the enrichment property. + Value pulumi.StringInput `pulumi:"value"` +} + +func (EnrichmentPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EnrichmentPropertiesResponse)(nil)).Elem() +} + +func (i EnrichmentPropertiesResponseArgs) ToEnrichmentPropertiesResponseOutput() EnrichmentPropertiesResponseOutput { + return i.ToEnrichmentPropertiesResponseOutputWithContext(context.Background()) +} + +func (i EnrichmentPropertiesResponseArgs) ToEnrichmentPropertiesResponseOutputWithContext(ctx context.Context) EnrichmentPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnrichmentPropertiesResponseOutput) +} + +// EnrichmentPropertiesResponseArrayInput is an input type that accepts EnrichmentPropertiesResponseArray and EnrichmentPropertiesResponseArrayOutput values. +// You can construct a concrete instance of `EnrichmentPropertiesResponseArrayInput` via: +// +// EnrichmentPropertiesResponseArray{ EnrichmentPropertiesResponseArgs{...} } +type EnrichmentPropertiesResponseArrayInput interface { + pulumi.Input + + ToEnrichmentPropertiesResponseArrayOutput() EnrichmentPropertiesResponseArrayOutput + ToEnrichmentPropertiesResponseArrayOutputWithContext(context.Context) EnrichmentPropertiesResponseArrayOutput +} + +type EnrichmentPropertiesResponseArray []EnrichmentPropertiesResponseInput + +func (EnrichmentPropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EnrichmentPropertiesResponse)(nil)).Elem() +} + +func (i EnrichmentPropertiesResponseArray) ToEnrichmentPropertiesResponseArrayOutput() EnrichmentPropertiesResponseArrayOutput { + return i.ToEnrichmentPropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i EnrichmentPropertiesResponseArray) ToEnrichmentPropertiesResponseArrayOutputWithContext(ctx context.Context) EnrichmentPropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnrichmentPropertiesResponseArrayOutput) +} + +// The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. +type EnrichmentPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (EnrichmentPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EnrichmentPropertiesResponse)(nil)).Elem() +} + +func (o EnrichmentPropertiesResponseOutput) ToEnrichmentPropertiesResponseOutput() EnrichmentPropertiesResponseOutput { + return o +} + +func (o EnrichmentPropertiesResponseOutput) ToEnrichmentPropertiesResponseOutputWithContext(ctx context.Context) EnrichmentPropertiesResponseOutput { + return o +} + +// The list of endpoints for which the enrichment is applied to the message. +func (o EnrichmentPropertiesResponseOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v EnrichmentPropertiesResponse) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// The key or name for the enrichment property. +func (o EnrichmentPropertiesResponseOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v EnrichmentPropertiesResponse) string { return v.Key }).(pulumi.StringOutput) +} + +// The value for the enrichment property. +func (o EnrichmentPropertiesResponseOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v EnrichmentPropertiesResponse) string { return v.Value }).(pulumi.StringOutput) +} + +type EnrichmentPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (EnrichmentPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EnrichmentPropertiesResponse)(nil)).Elem() +} + +func (o EnrichmentPropertiesResponseArrayOutput) ToEnrichmentPropertiesResponseArrayOutput() EnrichmentPropertiesResponseArrayOutput { + return o +} + +func (o EnrichmentPropertiesResponseArrayOutput) ToEnrichmentPropertiesResponseArrayOutputWithContext(ctx context.Context) EnrichmentPropertiesResponseArrayOutput { + return o +} + +func (o EnrichmentPropertiesResponseArrayOutput) Index(i pulumi.IntInput) EnrichmentPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnrichmentPropertiesResponse { + return vs[0].([]EnrichmentPropertiesResponse)[vs[1].(int)] + }).(EnrichmentPropertiesResponseOutput) +} + +// The EventHub consumer group name. +type EventHubConsumerGroupName struct { + // EventHub consumer group name + Name *string `pulumi:"name"` +} + +// EventHubConsumerGroupNameInput is an input type that accepts EventHubConsumerGroupNameArgs and EventHubConsumerGroupNameOutput values. +// You can construct a concrete instance of `EventHubConsumerGroupNameInput` via: +// +// EventHubConsumerGroupNameArgs{...} +type EventHubConsumerGroupNameInput interface { + pulumi.Input + + ToEventHubConsumerGroupNameOutput() EventHubConsumerGroupNameOutput + ToEventHubConsumerGroupNameOutputWithContext(context.Context) EventHubConsumerGroupNameOutput +} + +// The EventHub consumer group name. +type EventHubConsumerGroupNameArgs struct { + // EventHub consumer group name + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (EventHubConsumerGroupNameArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubConsumerGroupName)(nil)).Elem() +} + +func (i EventHubConsumerGroupNameArgs) ToEventHubConsumerGroupNameOutput() EventHubConsumerGroupNameOutput { + return i.ToEventHubConsumerGroupNameOutputWithContext(context.Background()) +} + +func (i EventHubConsumerGroupNameArgs) ToEventHubConsumerGroupNameOutputWithContext(ctx context.Context) EventHubConsumerGroupNameOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubConsumerGroupNameOutput) +} + +func (i EventHubConsumerGroupNameArgs) ToEventHubConsumerGroupNamePtrOutput() EventHubConsumerGroupNamePtrOutput { + return i.ToEventHubConsumerGroupNamePtrOutputWithContext(context.Background()) +} + +func (i EventHubConsumerGroupNameArgs) ToEventHubConsumerGroupNamePtrOutputWithContext(ctx context.Context) EventHubConsumerGroupNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubConsumerGroupNameOutput).ToEventHubConsumerGroupNamePtrOutputWithContext(ctx) +} + +// EventHubConsumerGroupNamePtrInput is an input type that accepts EventHubConsumerGroupNameArgs, EventHubConsumerGroupNamePtr and EventHubConsumerGroupNamePtrOutput values. +// You can construct a concrete instance of `EventHubConsumerGroupNamePtrInput` via: +// +// EventHubConsumerGroupNameArgs{...} +// +// or: +// +// nil +type EventHubConsumerGroupNamePtrInput interface { + pulumi.Input + + ToEventHubConsumerGroupNamePtrOutput() EventHubConsumerGroupNamePtrOutput + ToEventHubConsumerGroupNamePtrOutputWithContext(context.Context) EventHubConsumerGroupNamePtrOutput +} + +type eventHubConsumerGroupNamePtrType EventHubConsumerGroupNameArgs + +func EventHubConsumerGroupNamePtr(v *EventHubConsumerGroupNameArgs) EventHubConsumerGroupNamePtrInput { + return (*eventHubConsumerGroupNamePtrType)(v) +} + +func (*eventHubConsumerGroupNamePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EventHubConsumerGroupName)(nil)).Elem() +} + +func (i *eventHubConsumerGroupNamePtrType) ToEventHubConsumerGroupNamePtrOutput() EventHubConsumerGroupNamePtrOutput { + return i.ToEventHubConsumerGroupNamePtrOutputWithContext(context.Background()) +} + +func (i *eventHubConsumerGroupNamePtrType) ToEventHubConsumerGroupNamePtrOutputWithContext(ctx context.Context) EventHubConsumerGroupNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubConsumerGroupNamePtrOutput) +} + +// The EventHub consumer group name. +type EventHubConsumerGroupNameOutput struct{ *pulumi.OutputState } + +func (EventHubConsumerGroupNameOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubConsumerGroupName)(nil)).Elem() +} + +func (o EventHubConsumerGroupNameOutput) ToEventHubConsumerGroupNameOutput() EventHubConsumerGroupNameOutput { + return o +} + +func (o EventHubConsumerGroupNameOutput) ToEventHubConsumerGroupNameOutputWithContext(ctx context.Context) EventHubConsumerGroupNameOutput { + return o +} + +func (o EventHubConsumerGroupNameOutput) ToEventHubConsumerGroupNamePtrOutput() EventHubConsumerGroupNamePtrOutput { + return o.ToEventHubConsumerGroupNamePtrOutputWithContext(context.Background()) +} + +func (o EventHubConsumerGroupNameOutput) ToEventHubConsumerGroupNamePtrOutputWithContext(ctx context.Context) EventHubConsumerGroupNamePtrOutput { + return o.ApplyT(func(v EventHubConsumerGroupName) *EventHubConsumerGroupName { + return &v + }).(EventHubConsumerGroupNamePtrOutput) +} + +// EventHub consumer group name +func (o EventHubConsumerGroupNameOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v EventHubConsumerGroupName) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type EventHubConsumerGroupNamePtrOutput struct{ *pulumi.OutputState } + +func (EventHubConsumerGroupNamePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EventHubConsumerGroupName)(nil)).Elem() +} + +func (o EventHubConsumerGroupNamePtrOutput) ToEventHubConsumerGroupNamePtrOutput() EventHubConsumerGroupNamePtrOutput { + return o +} + +func (o EventHubConsumerGroupNamePtrOutput) ToEventHubConsumerGroupNamePtrOutputWithContext(ctx context.Context) EventHubConsumerGroupNamePtrOutput { + return o +} + +func (o EventHubConsumerGroupNamePtrOutput) Elem() EventHubConsumerGroupNameOutput { + return o.ApplyT(func(v *EventHubConsumerGroupName) EventHubConsumerGroupName { return *v }).(EventHubConsumerGroupNameOutput) +} + +// EventHub consumer group name +func (o EventHubConsumerGroupNamePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EventHubConsumerGroupName) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubProperties struct { + // The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + PartitionCount *int `pulumi:"partitionCount"` + // The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + RetentionTimeInDays *int `pulumi:"retentionTimeInDays"` +} + +// EventHubPropertiesInput is an input type that accepts EventHubPropertiesArgs and EventHubPropertiesOutput values. +// You can construct a concrete instance of `EventHubPropertiesInput` via: +// +// EventHubPropertiesArgs{...} +type EventHubPropertiesInput interface { + pulumi.Input + + ToEventHubPropertiesOutput() EventHubPropertiesOutput + ToEventHubPropertiesOutputWithContext(context.Context) EventHubPropertiesOutput +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubPropertiesArgs struct { + // The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + PartitionCount pulumi.IntPtrInput `pulumi:"partitionCount"` + // The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + RetentionTimeInDays pulumi.IntPtrInput `pulumi:"retentionTimeInDays"` +} + +func (EventHubPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubProperties)(nil)).Elem() +} + +func (i EventHubPropertiesArgs) ToEventHubPropertiesOutput() EventHubPropertiesOutput { + return i.ToEventHubPropertiesOutputWithContext(context.Background()) +} + +func (i EventHubPropertiesArgs) ToEventHubPropertiesOutputWithContext(ctx context.Context) EventHubPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubPropertiesOutput) +} + +// EventHubPropertiesMapInput is an input type that accepts EventHubPropertiesMap and EventHubPropertiesMapOutput values. +// You can construct a concrete instance of `EventHubPropertiesMapInput` via: +// +// EventHubPropertiesMap{ "key": EventHubPropertiesArgs{...} } +type EventHubPropertiesMapInput interface { + pulumi.Input + + ToEventHubPropertiesMapOutput() EventHubPropertiesMapOutput + ToEventHubPropertiesMapOutputWithContext(context.Context) EventHubPropertiesMapOutput +} + +type EventHubPropertiesMap map[string]EventHubPropertiesInput + +func (EventHubPropertiesMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EventHubProperties)(nil)).Elem() +} + +func (i EventHubPropertiesMap) ToEventHubPropertiesMapOutput() EventHubPropertiesMapOutput { + return i.ToEventHubPropertiesMapOutputWithContext(context.Background()) +} + +func (i EventHubPropertiesMap) ToEventHubPropertiesMapOutputWithContext(ctx context.Context) EventHubPropertiesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubPropertiesMapOutput) +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubPropertiesOutput struct{ *pulumi.OutputState } + +func (EventHubPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubProperties)(nil)).Elem() +} + +func (o EventHubPropertiesOutput) ToEventHubPropertiesOutput() EventHubPropertiesOutput { + return o +} + +func (o EventHubPropertiesOutput) ToEventHubPropertiesOutputWithContext(ctx context.Context) EventHubPropertiesOutput { + return o +} + +// The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. +func (o EventHubPropertiesOutput) PartitionCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v EventHubProperties) *int { return v.PartitionCount }).(pulumi.IntPtrOutput) +} + +// The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages +func (o EventHubPropertiesOutput) RetentionTimeInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v EventHubProperties) *int { return v.RetentionTimeInDays }).(pulumi.IntPtrOutput) +} + +type EventHubPropertiesMapOutput struct{ *pulumi.OutputState } + +func (EventHubPropertiesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EventHubProperties)(nil)).Elem() +} + +func (o EventHubPropertiesMapOutput) ToEventHubPropertiesMapOutput() EventHubPropertiesMapOutput { + return o +} + +func (o EventHubPropertiesMapOutput) ToEventHubPropertiesMapOutputWithContext(ctx context.Context) EventHubPropertiesMapOutput { + return o +} + +func (o EventHubPropertiesMapOutput) MapIndex(k pulumi.StringInput) EventHubPropertiesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EventHubProperties { + return vs[0].(map[string]EventHubProperties)[vs[1].(string)] + }).(EventHubPropertiesOutput) +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubPropertiesResponse struct { + // The Event Hub-compatible endpoint. + Endpoint string `pulumi:"endpoint"` + // The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + PartitionCount *int `pulumi:"partitionCount"` + // The partition ids in the Event Hub-compatible endpoint. + PartitionIds []string `pulumi:"partitionIds"` + // The Event Hub-compatible name. + Path string `pulumi:"path"` + // The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + RetentionTimeInDays *int `pulumi:"retentionTimeInDays"` +} + +// EventHubPropertiesResponseInput is an input type that accepts EventHubPropertiesResponseArgs and EventHubPropertiesResponseOutput values. +// You can construct a concrete instance of `EventHubPropertiesResponseInput` via: +// +// EventHubPropertiesResponseArgs{...} +type EventHubPropertiesResponseInput interface { + pulumi.Input + + ToEventHubPropertiesResponseOutput() EventHubPropertiesResponseOutput + ToEventHubPropertiesResponseOutputWithContext(context.Context) EventHubPropertiesResponseOutput +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubPropertiesResponseArgs struct { + // The Event Hub-compatible endpoint. + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + PartitionCount pulumi.IntPtrInput `pulumi:"partitionCount"` + // The partition ids in the Event Hub-compatible endpoint. + PartitionIds pulumi.StringArrayInput `pulumi:"partitionIds"` + // The Event Hub-compatible name. + Path pulumi.StringInput `pulumi:"path"` + // The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + RetentionTimeInDays pulumi.IntPtrInput `pulumi:"retentionTimeInDays"` +} + +func (EventHubPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubPropertiesResponse)(nil)).Elem() +} + +func (i EventHubPropertiesResponseArgs) ToEventHubPropertiesResponseOutput() EventHubPropertiesResponseOutput { + return i.ToEventHubPropertiesResponseOutputWithContext(context.Background()) +} + +func (i EventHubPropertiesResponseArgs) ToEventHubPropertiesResponseOutputWithContext(ctx context.Context) EventHubPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubPropertiesResponseOutput) +} + +// EventHubPropertiesResponseMapInput is an input type that accepts EventHubPropertiesResponseMap and EventHubPropertiesResponseMapOutput values. +// You can construct a concrete instance of `EventHubPropertiesResponseMapInput` via: +// +// EventHubPropertiesResponseMap{ "key": EventHubPropertiesResponseArgs{...} } +type EventHubPropertiesResponseMapInput interface { + pulumi.Input + + ToEventHubPropertiesResponseMapOutput() EventHubPropertiesResponseMapOutput + ToEventHubPropertiesResponseMapOutputWithContext(context.Context) EventHubPropertiesResponseMapOutput +} + +type EventHubPropertiesResponseMap map[string]EventHubPropertiesResponseInput + +func (EventHubPropertiesResponseMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EventHubPropertiesResponse)(nil)).Elem() +} + +func (i EventHubPropertiesResponseMap) ToEventHubPropertiesResponseMapOutput() EventHubPropertiesResponseMapOutput { + return i.ToEventHubPropertiesResponseMapOutputWithContext(context.Background()) +} + +func (i EventHubPropertiesResponseMap) ToEventHubPropertiesResponseMapOutputWithContext(ctx context.Context) EventHubPropertiesResponseMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHubPropertiesResponseMapOutput) +} + +// The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. +type EventHubPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (EventHubPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EventHubPropertiesResponse)(nil)).Elem() +} + +func (o EventHubPropertiesResponseOutput) ToEventHubPropertiesResponseOutput() EventHubPropertiesResponseOutput { + return o +} + +func (o EventHubPropertiesResponseOutput) ToEventHubPropertiesResponseOutputWithContext(ctx context.Context) EventHubPropertiesResponseOutput { + return o +} + +// The Event Hub-compatible endpoint. +func (o EventHubPropertiesResponseOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v EventHubPropertiesResponse) string { return v.Endpoint }).(pulumi.StringOutput) +} + +// The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. +func (o EventHubPropertiesResponseOutput) PartitionCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v EventHubPropertiesResponse) *int { return v.PartitionCount }).(pulumi.IntPtrOutput) +} + +// The partition ids in the Event Hub-compatible endpoint. +func (o EventHubPropertiesResponseOutput) PartitionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v EventHubPropertiesResponse) []string { return v.PartitionIds }).(pulumi.StringArrayOutput) +} + +// The Event Hub-compatible name. +func (o EventHubPropertiesResponseOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v EventHubPropertiesResponse) string { return v.Path }).(pulumi.StringOutput) +} + +// The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages +func (o EventHubPropertiesResponseOutput) RetentionTimeInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v EventHubPropertiesResponse) *int { return v.RetentionTimeInDays }).(pulumi.IntPtrOutput) +} + +type EventHubPropertiesResponseMapOutput struct{ *pulumi.OutputState } + +func (EventHubPropertiesResponseMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EventHubPropertiesResponse)(nil)).Elem() +} + +func (o EventHubPropertiesResponseMapOutput) ToEventHubPropertiesResponseMapOutput() EventHubPropertiesResponseMapOutput { + return o +} + +func (o EventHubPropertiesResponseMapOutput) ToEventHubPropertiesResponseMapOutputWithContext(ctx context.Context) EventHubPropertiesResponseMapOutput { + return o +} + +func (o EventHubPropertiesResponseMapOutput) MapIndex(k pulumi.StringInput) EventHubPropertiesResponseOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EventHubPropertiesResponse { + return vs[0].(map[string]EventHubPropertiesResponse)[vs[1].(string)] + }).(EventHubPropertiesResponseOutput) +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRouteProperties struct { + // The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition *string `pulumi:"condition"` + // The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + EndpointNames []string `pulumi:"endpointNames"` + // Used to specify whether the fallback route is enabled. + IsEnabled bool `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name *string `pulumi:"name"` + // The source to which the routing rule is to be applied to. For example, DeviceMessages + Source string `pulumi:"source"` +} + +// FallbackRoutePropertiesInput is an input type that accepts FallbackRoutePropertiesArgs and FallbackRoutePropertiesOutput values. +// You can construct a concrete instance of `FallbackRoutePropertiesInput` via: +// +// FallbackRoutePropertiesArgs{...} +type FallbackRoutePropertiesInput interface { + pulumi.Input + + ToFallbackRoutePropertiesOutput() FallbackRoutePropertiesOutput + ToFallbackRoutePropertiesOutputWithContext(context.Context) FallbackRoutePropertiesOutput +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRoutePropertiesArgs struct { + // The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition pulumi.StringPtrInput `pulumi:"condition"` + // The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // Used to specify whether the fallback route is enabled. + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name pulumi.StringPtrInput `pulumi:"name"` + // The source to which the routing rule is to be applied to. For example, DeviceMessages + Source pulumi.StringInput `pulumi:"source"` +} + +func (FallbackRoutePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FallbackRouteProperties)(nil)).Elem() +} + +func (i FallbackRoutePropertiesArgs) ToFallbackRoutePropertiesOutput() FallbackRoutePropertiesOutput { + return i.ToFallbackRoutePropertiesOutputWithContext(context.Background()) +} + +func (i FallbackRoutePropertiesArgs) ToFallbackRoutePropertiesOutputWithContext(ctx context.Context) FallbackRoutePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesOutput) +} + +func (i FallbackRoutePropertiesArgs) ToFallbackRoutePropertiesPtrOutput() FallbackRoutePropertiesPtrOutput { + return i.ToFallbackRoutePropertiesPtrOutputWithContext(context.Background()) +} + +func (i FallbackRoutePropertiesArgs) ToFallbackRoutePropertiesPtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesOutput).ToFallbackRoutePropertiesPtrOutputWithContext(ctx) +} + +// FallbackRoutePropertiesPtrInput is an input type that accepts FallbackRoutePropertiesArgs, FallbackRoutePropertiesPtr and FallbackRoutePropertiesPtrOutput values. +// You can construct a concrete instance of `FallbackRoutePropertiesPtrInput` via: +// +// FallbackRoutePropertiesArgs{...} +// +// or: +// +// nil +type FallbackRoutePropertiesPtrInput interface { + pulumi.Input + + ToFallbackRoutePropertiesPtrOutput() FallbackRoutePropertiesPtrOutput + ToFallbackRoutePropertiesPtrOutputWithContext(context.Context) FallbackRoutePropertiesPtrOutput +} + +type fallbackRoutePropertiesPtrType FallbackRoutePropertiesArgs + +func FallbackRoutePropertiesPtr(v *FallbackRoutePropertiesArgs) FallbackRoutePropertiesPtrInput { + return (*fallbackRoutePropertiesPtrType)(v) +} + +func (*fallbackRoutePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FallbackRouteProperties)(nil)).Elem() +} + +func (i *fallbackRoutePropertiesPtrType) ToFallbackRoutePropertiesPtrOutput() FallbackRoutePropertiesPtrOutput { + return i.ToFallbackRoutePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *fallbackRoutePropertiesPtrType) ToFallbackRoutePropertiesPtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesPtrOutput) +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRoutePropertiesOutput struct{ *pulumi.OutputState } + +func (FallbackRoutePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FallbackRouteProperties)(nil)).Elem() +} + +func (o FallbackRoutePropertiesOutput) ToFallbackRoutePropertiesOutput() FallbackRoutePropertiesOutput { + return o +} + +func (o FallbackRoutePropertiesOutput) ToFallbackRoutePropertiesOutputWithContext(ctx context.Context) FallbackRoutePropertiesOutput { + return o +} + +func (o FallbackRoutePropertiesOutput) ToFallbackRoutePropertiesPtrOutput() FallbackRoutePropertiesPtrOutput { + return o.ToFallbackRoutePropertiesPtrOutputWithContext(context.Background()) +} + +func (o FallbackRoutePropertiesOutput) ToFallbackRoutePropertiesPtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesPtrOutput { + return o.ApplyT(func(v FallbackRouteProperties) *FallbackRouteProperties { + return &v + }).(FallbackRoutePropertiesPtrOutput) +} + +// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o FallbackRoutePropertiesOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v FallbackRouteProperties) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. +func (o FallbackRoutePropertiesOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v FallbackRouteProperties) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// Used to specify whether the fallback route is enabled. +func (o FallbackRoutePropertiesOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v FallbackRouteProperties) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o FallbackRoutePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v FallbackRouteProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The source to which the routing rule is to be applied to. For example, DeviceMessages +func (o FallbackRoutePropertiesOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v FallbackRouteProperties) string { return v.Source }).(pulumi.StringOutput) +} + +type FallbackRoutePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (FallbackRoutePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FallbackRouteProperties)(nil)).Elem() +} + +func (o FallbackRoutePropertiesPtrOutput) ToFallbackRoutePropertiesPtrOutput() FallbackRoutePropertiesPtrOutput { + return o +} + +func (o FallbackRoutePropertiesPtrOutput) ToFallbackRoutePropertiesPtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesPtrOutput { + return o +} + +func (o FallbackRoutePropertiesPtrOutput) Elem() FallbackRoutePropertiesOutput { + return o.ApplyT(func(v *FallbackRouteProperties) FallbackRouteProperties { return *v }).(FallbackRoutePropertiesOutput) +} + +// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o FallbackRoutePropertiesPtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRouteProperties) *string { + if v == nil { + return nil + } + return v.Condition + }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. +func (o FallbackRoutePropertiesPtrOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *FallbackRouteProperties) []string { + if v == nil { + return nil + } + return v.EndpointNames + }).(pulumi.StringArrayOutput) +} + +// Used to specify whether the fallback route is enabled. +func (o FallbackRoutePropertiesPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *FallbackRouteProperties) *bool { + if v == nil { + return nil + } + return &v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o FallbackRoutePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRouteProperties) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The source to which the routing rule is to be applied to. For example, DeviceMessages +func (o FallbackRoutePropertiesPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRouteProperties) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRoutePropertiesResponse struct { + // The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition *string `pulumi:"condition"` + // The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + EndpointNames []string `pulumi:"endpointNames"` + // Used to specify whether the fallback route is enabled. + IsEnabled bool `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name *string `pulumi:"name"` + // The source to which the routing rule is to be applied to. For example, DeviceMessages + Source string `pulumi:"source"` +} + +// FallbackRoutePropertiesResponseInput is an input type that accepts FallbackRoutePropertiesResponseArgs and FallbackRoutePropertiesResponseOutput values. +// You can construct a concrete instance of `FallbackRoutePropertiesResponseInput` via: +// +// FallbackRoutePropertiesResponseArgs{...} +type FallbackRoutePropertiesResponseInput interface { + pulumi.Input + + ToFallbackRoutePropertiesResponseOutput() FallbackRoutePropertiesResponseOutput + ToFallbackRoutePropertiesResponseOutputWithContext(context.Context) FallbackRoutePropertiesResponseOutput +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRoutePropertiesResponseArgs struct { + // The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition pulumi.StringPtrInput `pulumi:"condition"` + // The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // Used to specify whether the fallback route is enabled. + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name pulumi.StringPtrInput `pulumi:"name"` + // The source to which the routing rule is to be applied to. For example, DeviceMessages + Source pulumi.StringInput `pulumi:"source"` +} + +func (FallbackRoutePropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FallbackRoutePropertiesResponse)(nil)).Elem() +} + +func (i FallbackRoutePropertiesResponseArgs) ToFallbackRoutePropertiesResponseOutput() FallbackRoutePropertiesResponseOutput { + return i.ToFallbackRoutePropertiesResponseOutputWithContext(context.Background()) +} + +func (i FallbackRoutePropertiesResponseArgs) ToFallbackRoutePropertiesResponseOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesResponseOutput) +} + +func (i FallbackRoutePropertiesResponseArgs) ToFallbackRoutePropertiesResponsePtrOutput() FallbackRoutePropertiesResponsePtrOutput { + return i.ToFallbackRoutePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i FallbackRoutePropertiesResponseArgs) ToFallbackRoutePropertiesResponsePtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesResponseOutput).ToFallbackRoutePropertiesResponsePtrOutputWithContext(ctx) +} + +// FallbackRoutePropertiesResponsePtrInput is an input type that accepts FallbackRoutePropertiesResponseArgs, FallbackRoutePropertiesResponsePtr and FallbackRoutePropertiesResponsePtrOutput values. +// You can construct a concrete instance of `FallbackRoutePropertiesResponsePtrInput` via: +// +// FallbackRoutePropertiesResponseArgs{...} +// +// or: +// +// nil +type FallbackRoutePropertiesResponsePtrInput interface { + pulumi.Input + + ToFallbackRoutePropertiesResponsePtrOutput() FallbackRoutePropertiesResponsePtrOutput + ToFallbackRoutePropertiesResponsePtrOutputWithContext(context.Context) FallbackRoutePropertiesResponsePtrOutput +} + +type fallbackRoutePropertiesResponsePtrType FallbackRoutePropertiesResponseArgs + +func FallbackRoutePropertiesResponsePtr(v *FallbackRoutePropertiesResponseArgs) FallbackRoutePropertiesResponsePtrInput { + return (*fallbackRoutePropertiesResponsePtrType)(v) +} + +func (*fallbackRoutePropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FallbackRoutePropertiesResponse)(nil)).Elem() +} + +func (i *fallbackRoutePropertiesResponsePtrType) ToFallbackRoutePropertiesResponsePtrOutput() FallbackRoutePropertiesResponsePtrOutput { + return i.ToFallbackRoutePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *fallbackRoutePropertiesResponsePtrType) ToFallbackRoutePropertiesResponsePtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FallbackRoutePropertiesResponsePtrOutput) +} + +// The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. +type FallbackRoutePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (FallbackRoutePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FallbackRoutePropertiesResponse)(nil)).Elem() +} + +func (o FallbackRoutePropertiesResponseOutput) ToFallbackRoutePropertiesResponseOutput() FallbackRoutePropertiesResponseOutput { + return o +} + +func (o FallbackRoutePropertiesResponseOutput) ToFallbackRoutePropertiesResponseOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponseOutput { + return o +} + +func (o FallbackRoutePropertiesResponseOutput) ToFallbackRoutePropertiesResponsePtrOutput() FallbackRoutePropertiesResponsePtrOutput { + return o.ToFallbackRoutePropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o FallbackRoutePropertiesResponseOutput) ToFallbackRoutePropertiesResponsePtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponsePtrOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) *FallbackRoutePropertiesResponse { + return &v + }).(FallbackRoutePropertiesResponsePtrOutput) +} + +// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o FallbackRoutePropertiesResponseOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. +func (o FallbackRoutePropertiesResponseOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// Used to specify whether the fallback route is enabled. +func (o FallbackRoutePropertiesResponseOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o FallbackRoutePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The source to which the routing rule is to be applied to. For example, DeviceMessages +func (o FallbackRoutePropertiesResponseOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v FallbackRoutePropertiesResponse) string { return v.Source }).(pulumi.StringOutput) +} + +type FallbackRoutePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (FallbackRoutePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FallbackRoutePropertiesResponse)(nil)).Elem() +} + +func (o FallbackRoutePropertiesResponsePtrOutput) ToFallbackRoutePropertiesResponsePtrOutput() FallbackRoutePropertiesResponsePtrOutput { + return o +} + +func (o FallbackRoutePropertiesResponsePtrOutput) ToFallbackRoutePropertiesResponsePtrOutputWithContext(ctx context.Context) FallbackRoutePropertiesResponsePtrOutput { + return o +} + +func (o FallbackRoutePropertiesResponsePtrOutput) Elem() FallbackRoutePropertiesResponseOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) FallbackRoutePropertiesResponse { return *v }).(FallbackRoutePropertiesResponseOutput) +} + +// The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o FallbackRoutePropertiesResponsePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Condition + }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. +func (o FallbackRoutePropertiesResponsePtrOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) []string { + if v == nil { + return nil + } + return v.EndpointNames + }).(pulumi.StringArrayOutput) +} + +// Used to specify whether the fallback route is enabled. +func (o FallbackRoutePropertiesResponsePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) *bool { + if v == nil { + return nil + } + return &v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o FallbackRoutePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The source to which the routing rule is to be applied to. For example, DeviceMessages +func (o FallbackRoutePropertiesResponsePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FallbackRoutePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackProperties struct { + // The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + LockDurationAsIso8601 *string `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + TtlAsIso8601 *string `pulumi:"ttlAsIso8601"` +} + +// FeedbackPropertiesInput is an input type that accepts FeedbackPropertiesArgs and FeedbackPropertiesOutput values. +// You can construct a concrete instance of `FeedbackPropertiesInput` via: +// +// FeedbackPropertiesArgs{...} +type FeedbackPropertiesInput interface { + pulumi.Input + + ToFeedbackPropertiesOutput() FeedbackPropertiesOutput + ToFeedbackPropertiesOutputWithContext(context.Context) FeedbackPropertiesOutput +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackPropertiesArgs struct { + // The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + LockDurationAsIso8601 pulumi.StringPtrInput `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + TtlAsIso8601 pulumi.StringPtrInput `pulumi:"ttlAsIso8601"` +} + +func (FeedbackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FeedbackProperties)(nil)).Elem() +} + +func (i FeedbackPropertiesArgs) ToFeedbackPropertiesOutput() FeedbackPropertiesOutput { + return i.ToFeedbackPropertiesOutputWithContext(context.Background()) +} + +func (i FeedbackPropertiesArgs) ToFeedbackPropertiesOutputWithContext(ctx context.Context) FeedbackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesOutput) +} + +func (i FeedbackPropertiesArgs) ToFeedbackPropertiesPtrOutput() FeedbackPropertiesPtrOutput { + return i.ToFeedbackPropertiesPtrOutputWithContext(context.Background()) +} + +func (i FeedbackPropertiesArgs) ToFeedbackPropertiesPtrOutputWithContext(ctx context.Context) FeedbackPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesOutput).ToFeedbackPropertiesPtrOutputWithContext(ctx) +} + +// FeedbackPropertiesPtrInput is an input type that accepts FeedbackPropertiesArgs, FeedbackPropertiesPtr and FeedbackPropertiesPtrOutput values. +// You can construct a concrete instance of `FeedbackPropertiesPtrInput` via: +// +// FeedbackPropertiesArgs{...} +// +// or: +// +// nil +type FeedbackPropertiesPtrInput interface { + pulumi.Input + + ToFeedbackPropertiesPtrOutput() FeedbackPropertiesPtrOutput + ToFeedbackPropertiesPtrOutputWithContext(context.Context) FeedbackPropertiesPtrOutput +} + +type feedbackPropertiesPtrType FeedbackPropertiesArgs + +func FeedbackPropertiesPtr(v *FeedbackPropertiesArgs) FeedbackPropertiesPtrInput { + return (*feedbackPropertiesPtrType)(v) +} + +func (*feedbackPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FeedbackProperties)(nil)).Elem() +} + +func (i *feedbackPropertiesPtrType) ToFeedbackPropertiesPtrOutput() FeedbackPropertiesPtrOutput { + return i.ToFeedbackPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *feedbackPropertiesPtrType) ToFeedbackPropertiesPtrOutputWithContext(ctx context.Context) FeedbackPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackPropertiesOutput struct{ *pulumi.OutputState } + +func (FeedbackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FeedbackProperties)(nil)).Elem() +} + +func (o FeedbackPropertiesOutput) ToFeedbackPropertiesOutput() FeedbackPropertiesOutput { + return o +} + +func (o FeedbackPropertiesOutput) ToFeedbackPropertiesOutputWithContext(ctx context.Context) FeedbackPropertiesOutput { + return o +} + +func (o FeedbackPropertiesOutput) ToFeedbackPropertiesPtrOutput() FeedbackPropertiesPtrOutput { + return o.ToFeedbackPropertiesPtrOutputWithContext(context.Background()) +} + +func (o FeedbackPropertiesOutput) ToFeedbackPropertiesPtrOutputWithContext(ctx context.Context) FeedbackPropertiesPtrOutput { + return o.ApplyT(func(v FeedbackProperties) *FeedbackProperties { + return &v + }).(FeedbackPropertiesPtrOutput) +} + +// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v FeedbackProperties) *string { return v.LockDurationAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v FeedbackProperties) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v FeedbackProperties) *string { return v.TtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type FeedbackPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (FeedbackPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FeedbackProperties)(nil)).Elem() +} + +func (o FeedbackPropertiesPtrOutput) ToFeedbackPropertiesPtrOutput() FeedbackPropertiesPtrOutput { + return o +} + +func (o FeedbackPropertiesPtrOutput) ToFeedbackPropertiesPtrOutputWithContext(ctx context.Context) FeedbackPropertiesPtrOutput { + return o +} + +func (o FeedbackPropertiesPtrOutput) Elem() FeedbackPropertiesOutput { + return o.ApplyT(func(v *FeedbackProperties) FeedbackProperties { return *v }).(FeedbackPropertiesOutput) +} + +// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesPtrOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeedbackProperties) *string { + if v == nil { + return nil + } + return v.LockDurationAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *FeedbackProperties) *int { + if v == nil { + return nil + } + return v.MaxDeliveryCount + }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesPtrOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeedbackProperties) *string { + if v == nil { + return nil + } + return v.TtlAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackPropertiesResponse struct { + // The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + LockDurationAsIso8601 *string `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + TtlAsIso8601 *string `pulumi:"ttlAsIso8601"` +} + +// FeedbackPropertiesResponseInput is an input type that accepts FeedbackPropertiesResponseArgs and FeedbackPropertiesResponseOutput values. +// You can construct a concrete instance of `FeedbackPropertiesResponseInput` via: +// +// FeedbackPropertiesResponseArgs{...} +type FeedbackPropertiesResponseInput interface { + pulumi.Input + + ToFeedbackPropertiesResponseOutput() FeedbackPropertiesResponseOutput + ToFeedbackPropertiesResponseOutputWithContext(context.Context) FeedbackPropertiesResponseOutput +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackPropertiesResponseArgs struct { + // The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + LockDurationAsIso8601 pulumi.StringPtrInput `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + TtlAsIso8601 pulumi.StringPtrInput `pulumi:"ttlAsIso8601"` +} + +func (FeedbackPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FeedbackPropertiesResponse)(nil)).Elem() +} + +func (i FeedbackPropertiesResponseArgs) ToFeedbackPropertiesResponseOutput() FeedbackPropertiesResponseOutput { + return i.ToFeedbackPropertiesResponseOutputWithContext(context.Background()) +} + +func (i FeedbackPropertiesResponseArgs) ToFeedbackPropertiesResponseOutputWithContext(ctx context.Context) FeedbackPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesResponseOutput) +} + +func (i FeedbackPropertiesResponseArgs) ToFeedbackPropertiesResponsePtrOutput() FeedbackPropertiesResponsePtrOutput { + return i.ToFeedbackPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i FeedbackPropertiesResponseArgs) ToFeedbackPropertiesResponsePtrOutputWithContext(ctx context.Context) FeedbackPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesResponseOutput).ToFeedbackPropertiesResponsePtrOutputWithContext(ctx) +} + +// FeedbackPropertiesResponsePtrInput is an input type that accepts FeedbackPropertiesResponseArgs, FeedbackPropertiesResponsePtr and FeedbackPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `FeedbackPropertiesResponsePtrInput` via: +// +// FeedbackPropertiesResponseArgs{...} +// +// or: +// +// nil +type FeedbackPropertiesResponsePtrInput interface { + pulumi.Input + + ToFeedbackPropertiesResponsePtrOutput() FeedbackPropertiesResponsePtrOutput + ToFeedbackPropertiesResponsePtrOutputWithContext(context.Context) FeedbackPropertiesResponsePtrOutput +} + +type feedbackPropertiesResponsePtrType FeedbackPropertiesResponseArgs + +func FeedbackPropertiesResponsePtr(v *FeedbackPropertiesResponseArgs) FeedbackPropertiesResponsePtrInput { + return (*feedbackPropertiesResponsePtrType)(v) +} + +func (*feedbackPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FeedbackPropertiesResponse)(nil)).Elem() +} + +func (i *feedbackPropertiesResponsePtrType) ToFeedbackPropertiesResponsePtrOutput() FeedbackPropertiesResponsePtrOutput { + return i.ToFeedbackPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *feedbackPropertiesResponsePtrType) ToFeedbackPropertiesResponsePtrOutputWithContext(ctx context.Context) FeedbackPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeedbackPropertiesResponsePtrOutput) +} + +// The properties of the feedback queue for cloud-to-device messages. +type FeedbackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (FeedbackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FeedbackPropertiesResponse)(nil)).Elem() +} + +func (o FeedbackPropertiesResponseOutput) ToFeedbackPropertiesResponseOutput() FeedbackPropertiesResponseOutput { + return o +} + +func (o FeedbackPropertiesResponseOutput) ToFeedbackPropertiesResponseOutputWithContext(ctx context.Context) FeedbackPropertiesResponseOutput { + return o +} + +func (o FeedbackPropertiesResponseOutput) ToFeedbackPropertiesResponsePtrOutput() FeedbackPropertiesResponsePtrOutput { + return o.ToFeedbackPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o FeedbackPropertiesResponseOutput) ToFeedbackPropertiesResponsePtrOutputWithContext(ctx context.Context) FeedbackPropertiesResponsePtrOutput { + return o.ApplyT(func(v FeedbackPropertiesResponse) *FeedbackPropertiesResponse { + return &v + }).(FeedbackPropertiesResponsePtrOutput) +} + +// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponseOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v FeedbackPropertiesResponse) *string { return v.LockDurationAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponseOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v FeedbackPropertiesResponse) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponseOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v FeedbackPropertiesResponse) *string { return v.TtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type FeedbackPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (FeedbackPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FeedbackPropertiesResponse)(nil)).Elem() +} + +func (o FeedbackPropertiesResponsePtrOutput) ToFeedbackPropertiesResponsePtrOutput() FeedbackPropertiesResponsePtrOutput { + return o +} + +func (o FeedbackPropertiesResponsePtrOutput) ToFeedbackPropertiesResponsePtrOutputWithContext(ctx context.Context) FeedbackPropertiesResponsePtrOutput { + return o +} + +func (o FeedbackPropertiesResponsePtrOutput) Elem() FeedbackPropertiesResponseOutput { + return o.ApplyT(func(v *FeedbackPropertiesResponse) FeedbackPropertiesResponse { return *v }).(FeedbackPropertiesResponseOutput) +} + +// The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponsePtrOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeedbackPropertiesResponse) *string { + if v == nil { + return nil + } + return v.LockDurationAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponsePtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *FeedbackPropertiesResponse) *int { + if v == nil { + return nil + } + return v.MaxDeliveryCount + }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. +func (o FeedbackPropertiesResponsePtrOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeedbackPropertiesResponse) *string { + if v == nil { + return nil + } + return v.TtlAsIso8601 + }).(pulumi.StringPtrOutput) +} + +// Public representation of one of the locations where a resource is provisioned. +type IotHubLocationDescriptionResponse struct { + // The name of the Azure region + Location *string `pulumi:"location"` + // The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + Role *string `pulumi:"role"` +} + +// IotHubLocationDescriptionResponseInput is an input type that accepts IotHubLocationDescriptionResponseArgs and IotHubLocationDescriptionResponseOutput values. +// You can construct a concrete instance of `IotHubLocationDescriptionResponseInput` via: +// +// IotHubLocationDescriptionResponseArgs{...} +type IotHubLocationDescriptionResponseInput interface { + pulumi.Input + + ToIotHubLocationDescriptionResponseOutput() IotHubLocationDescriptionResponseOutput + ToIotHubLocationDescriptionResponseOutputWithContext(context.Context) IotHubLocationDescriptionResponseOutput +} + +// Public representation of one of the locations where a resource is provisioned. +type IotHubLocationDescriptionResponseArgs struct { + // The name of the Azure region + Location pulumi.StringPtrInput `pulumi:"location"` + // The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + Role pulumi.StringPtrInput `pulumi:"role"` +} + +func (IotHubLocationDescriptionResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubLocationDescriptionResponse)(nil)).Elem() +} + +func (i IotHubLocationDescriptionResponseArgs) ToIotHubLocationDescriptionResponseOutput() IotHubLocationDescriptionResponseOutput { + return i.ToIotHubLocationDescriptionResponseOutputWithContext(context.Background()) +} + +func (i IotHubLocationDescriptionResponseArgs) ToIotHubLocationDescriptionResponseOutputWithContext(ctx context.Context) IotHubLocationDescriptionResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubLocationDescriptionResponseOutput) +} + +// IotHubLocationDescriptionResponseArrayInput is an input type that accepts IotHubLocationDescriptionResponseArray and IotHubLocationDescriptionResponseArrayOutput values. +// You can construct a concrete instance of `IotHubLocationDescriptionResponseArrayInput` via: +// +// IotHubLocationDescriptionResponseArray{ IotHubLocationDescriptionResponseArgs{...} } +type IotHubLocationDescriptionResponseArrayInput interface { + pulumi.Input + + ToIotHubLocationDescriptionResponseArrayOutput() IotHubLocationDescriptionResponseArrayOutput + ToIotHubLocationDescriptionResponseArrayOutputWithContext(context.Context) IotHubLocationDescriptionResponseArrayOutput +} + +type IotHubLocationDescriptionResponseArray []IotHubLocationDescriptionResponseInput + +func (IotHubLocationDescriptionResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IotHubLocationDescriptionResponse)(nil)).Elem() +} + +func (i IotHubLocationDescriptionResponseArray) ToIotHubLocationDescriptionResponseArrayOutput() IotHubLocationDescriptionResponseArrayOutput { + return i.ToIotHubLocationDescriptionResponseArrayOutputWithContext(context.Background()) +} + +func (i IotHubLocationDescriptionResponseArray) ToIotHubLocationDescriptionResponseArrayOutputWithContext(ctx context.Context) IotHubLocationDescriptionResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubLocationDescriptionResponseArrayOutput) +} + +// Public representation of one of the locations where a resource is provisioned. +type IotHubLocationDescriptionResponseOutput struct{ *pulumi.OutputState } + +func (IotHubLocationDescriptionResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubLocationDescriptionResponse)(nil)).Elem() +} + +func (o IotHubLocationDescriptionResponseOutput) ToIotHubLocationDescriptionResponseOutput() IotHubLocationDescriptionResponseOutput { + return o +} + +func (o IotHubLocationDescriptionResponseOutput) ToIotHubLocationDescriptionResponseOutputWithContext(ctx context.Context) IotHubLocationDescriptionResponseOutput { + return o +} + +// The name of the Azure region +func (o IotHubLocationDescriptionResponseOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubLocationDescriptionResponse) *string { return v.Location }).(pulumi.StringPtrOutput) +} + +// The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. +func (o IotHubLocationDescriptionResponseOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubLocationDescriptionResponse) *string { return v.Role }).(pulumi.StringPtrOutput) +} + +type IotHubLocationDescriptionResponseArrayOutput struct{ *pulumi.OutputState } + +func (IotHubLocationDescriptionResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IotHubLocationDescriptionResponse)(nil)).Elem() +} + +func (o IotHubLocationDescriptionResponseArrayOutput) ToIotHubLocationDescriptionResponseArrayOutput() IotHubLocationDescriptionResponseArrayOutput { + return o +} + +func (o IotHubLocationDescriptionResponseArrayOutput) ToIotHubLocationDescriptionResponseArrayOutputWithContext(ctx context.Context) IotHubLocationDescriptionResponseArrayOutput { + return o +} + +func (o IotHubLocationDescriptionResponseArrayOutput) Index(i pulumi.IntInput) IotHubLocationDescriptionResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IotHubLocationDescriptionResponse { + return vs[0].([]IotHubLocationDescriptionResponse)[vs[1].(int)] + }).(IotHubLocationDescriptionResponseOutput) +} + +// The properties of an IoT hub. +type IotHubProperties struct { + // The shared access policies you can use to secure a connection to the IoT hub. + AuthorizationPolicies []SharedAccessSignatureAuthorizationRule `pulumi:"authorizationPolicies"` + // The IoT hub cloud-to-device messaging properties. + CloudToDevice *CloudToDeviceProperties `pulumi:"cloudToDevice"` + // IoT hub comments. + Comments *string `pulumi:"comments"` + // If True, file upload notifications are enabled. + EnableFileUploadNotifications *bool `pulumi:"enableFileUploadNotifications"` + // The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + EventHubEndpoints map[string]EventHubProperties `pulumi:"eventHubEndpoints"` + // The capabilities and features enabled for the IoT hub. + Features *string `pulumi:"features"` + // The IP filter rules. + IpFilterRules []IpFilterRule `pulumi:"ipFilterRules"` + // The messaging endpoint properties for the file upload notification queue. + MessagingEndpoints map[string]MessagingEndpointProperties `pulumi:"messagingEndpoints"` + // Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + MinTlsVersion *string `pulumi:"minTlsVersion"` + // Private endpoint connections created on this IotHub + PrivateEndpointConnections []PrivateEndpointConnectionType `pulumi:"privateEndpointConnections"` + // Whether requests from Public Network are allowed + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` + // The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + Routing *RoutingProperties `pulumi:"routing"` + // The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + StorageEndpoints map[string]StorageEndpointProperties `pulumi:"storageEndpoints"` +} + +// IotHubPropertiesInput is an input type that accepts IotHubPropertiesArgs and IotHubPropertiesOutput values. +// You can construct a concrete instance of `IotHubPropertiesInput` via: +// +// IotHubPropertiesArgs{...} +type IotHubPropertiesInput interface { + pulumi.Input + + ToIotHubPropertiesOutput() IotHubPropertiesOutput + ToIotHubPropertiesOutputWithContext(context.Context) IotHubPropertiesOutput +} + +// The properties of an IoT hub. +type IotHubPropertiesArgs struct { + // The shared access policies you can use to secure a connection to the IoT hub. + AuthorizationPolicies SharedAccessSignatureAuthorizationRuleArrayInput `pulumi:"authorizationPolicies"` + // The IoT hub cloud-to-device messaging properties. + CloudToDevice CloudToDevicePropertiesPtrInput `pulumi:"cloudToDevice"` + // IoT hub comments. + Comments pulumi.StringPtrInput `pulumi:"comments"` + // If True, file upload notifications are enabled. + EnableFileUploadNotifications pulumi.BoolPtrInput `pulumi:"enableFileUploadNotifications"` + // The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + EventHubEndpoints EventHubPropertiesMapInput `pulumi:"eventHubEndpoints"` + // The capabilities and features enabled for the IoT hub. + Features pulumi.StringPtrInput `pulumi:"features"` + // The IP filter rules. + IpFilterRules IpFilterRuleArrayInput `pulumi:"ipFilterRules"` + // The messaging endpoint properties for the file upload notification queue. + MessagingEndpoints MessagingEndpointPropertiesMapInput `pulumi:"messagingEndpoints"` + // Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + MinTlsVersion pulumi.StringPtrInput `pulumi:"minTlsVersion"` + // Private endpoint connections created on this IotHub + PrivateEndpointConnections PrivateEndpointConnectionTypeArrayInput `pulumi:"privateEndpointConnections"` + // Whether requests from Public Network are allowed + PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"` + // The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + Routing RoutingPropertiesPtrInput `pulumi:"routing"` + // The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + StorageEndpoints StorageEndpointPropertiesMapInput `pulumi:"storageEndpoints"` +} + +func (IotHubPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubProperties)(nil)).Elem() +} + +func (i IotHubPropertiesArgs) ToIotHubPropertiesOutput() IotHubPropertiesOutput { + return i.ToIotHubPropertiesOutputWithContext(context.Background()) +} + +func (i IotHubPropertiesArgs) ToIotHubPropertiesOutputWithContext(ctx context.Context) IotHubPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesOutput) +} + +func (i IotHubPropertiesArgs) ToIotHubPropertiesPtrOutput() IotHubPropertiesPtrOutput { + return i.ToIotHubPropertiesPtrOutputWithContext(context.Background()) +} + +func (i IotHubPropertiesArgs) ToIotHubPropertiesPtrOutputWithContext(ctx context.Context) IotHubPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesOutput).ToIotHubPropertiesPtrOutputWithContext(ctx) +} + +// IotHubPropertiesPtrInput is an input type that accepts IotHubPropertiesArgs, IotHubPropertiesPtr and IotHubPropertiesPtrOutput values. +// You can construct a concrete instance of `IotHubPropertiesPtrInput` via: +// +// IotHubPropertiesArgs{...} +// +// or: +// +// nil +type IotHubPropertiesPtrInput interface { + pulumi.Input + + ToIotHubPropertiesPtrOutput() IotHubPropertiesPtrOutput + ToIotHubPropertiesPtrOutputWithContext(context.Context) IotHubPropertiesPtrOutput +} + +type iotHubPropertiesPtrType IotHubPropertiesArgs + +func IotHubPropertiesPtr(v *IotHubPropertiesArgs) IotHubPropertiesPtrInput { + return (*iotHubPropertiesPtrType)(v) +} + +func (*iotHubPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubProperties)(nil)).Elem() +} + +func (i *iotHubPropertiesPtrType) ToIotHubPropertiesPtrOutput() IotHubPropertiesPtrOutput { + return i.ToIotHubPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *iotHubPropertiesPtrType) ToIotHubPropertiesPtrOutputWithContext(ctx context.Context) IotHubPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesPtrOutput) +} + +// The properties of an IoT hub. +type IotHubPropertiesOutput struct{ *pulumi.OutputState } + +func (IotHubPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubProperties)(nil)).Elem() +} + +func (o IotHubPropertiesOutput) ToIotHubPropertiesOutput() IotHubPropertiesOutput { + return o +} + +func (o IotHubPropertiesOutput) ToIotHubPropertiesOutputWithContext(ctx context.Context) IotHubPropertiesOutput { + return o +} + +func (o IotHubPropertiesOutput) ToIotHubPropertiesPtrOutput() IotHubPropertiesPtrOutput { + return o.ToIotHubPropertiesPtrOutputWithContext(context.Background()) +} + +func (o IotHubPropertiesOutput) ToIotHubPropertiesPtrOutputWithContext(ctx context.Context) IotHubPropertiesPtrOutput { + return o.ApplyT(func(v IotHubProperties) *IotHubProperties { + return &v + }).(IotHubPropertiesPtrOutput) +} + +// The shared access policies you can use to secure a connection to the IoT hub. +func (o IotHubPropertiesOutput) AuthorizationPolicies() SharedAccessSignatureAuthorizationRuleArrayOutput { + return o.ApplyT(func(v IotHubProperties) []SharedAccessSignatureAuthorizationRule { return v.AuthorizationPolicies }).(SharedAccessSignatureAuthorizationRuleArrayOutput) +} + +// The IoT hub cloud-to-device messaging properties. +func (o IotHubPropertiesOutput) CloudToDevice() CloudToDevicePropertiesPtrOutput { + return o.ApplyT(func(v IotHubProperties) *CloudToDeviceProperties { return v.CloudToDevice }).(CloudToDevicePropertiesPtrOutput) +} + +// IoT hub comments. +func (o IotHubPropertiesOutput) Comments() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubProperties) *string { return v.Comments }).(pulumi.StringPtrOutput) +} + +// If True, file upload notifications are enabled. +func (o IotHubPropertiesOutput) EnableFileUploadNotifications() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IotHubProperties) *bool { return v.EnableFileUploadNotifications }).(pulumi.BoolPtrOutput) +} + +// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. +func (o IotHubPropertiesOutput) EventHubEndpoints() EventHubPropertiesMapOutput { + return o.ApplyT(func(v IotHubProperties) map[string]EventHubProperties { return v.EventHubEndpoints }).(EventHubPropertiesMapOutput) +} + +// The capabilities and features enabled for the IoT hub. +func (o IotHubPropertiesOutput) Features() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubProperties) *string { return v.Features }).(pulumi.StringPtrOutput) +} + +// The IP filter rules. +func (o IotHubPropertiesOutput) IpFilterRules() IpFilterRuleArrayOutput { + return o.ApplyT(func(v IotHubProperties) []IpFilterRule { return v.IpFilterRules }).(IpFilterRuleArrayOutput) +} + +// The messaging endpoint properties for the file upload notification queue. +func (o IotHubPropertiesOutput) MessagingEndpoints() MessagingEndpointPropertiesMapOutput { + return o.ApplyT(func(v IotHubProperties) map[string]MessagingEndpointProperties { return v.MessagingEndpoints }).(MessagingEndpointPropertiesMapOutput) +} + +// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. +func (o IotHubPropertiesOutput) MinTlsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubProperties) *string { return v.MinTlsVersion }).(pulumi.StringPtrOutput) +} + +// Private endpoint connections created on this IotHub +func (o IotHubPropertiesOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput { + return o.ApplyT(func(v IotHubProperties) []PrivateEndpointConnectionType { return v.PrivateEndpointConnections }).(PrivateEndpointConnectionTypeArrayOutput) +} + +// Whether requests from Public Network are allowed +func (o IotHubPropertiesOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubProperties) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +func (o IotHubPropertiesOutput) Routing() RoutingPropertiesPtrOutput { + return o.ApplyT(func(v IotHubProperties) *RoutingProperties { return v.Routing }).(RoutingPropertiesPtrOutput) +} + +// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. +func (o IotHubPropertiesOutput) StorageEndpoints() StorageEndpointPropertiesMapOutput { + return o.ApplyT(func(v IotHubProperties) map[string]StorageEndpointProperties { return v.StorageEndpoints }).(StorageEndpointPropertiesMapOutput) +} + +type IotHubPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (IotHubPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubProperties)(nil)).Elem() +} + +func (o IotHubPropertiesPtrOutput) ToIotHubPropertiesPtrOutput() IotHubPropertiesPtrOutput { + return o +} + +func (o IotHubPropertiesPtrOutput) ToIotHubPropertiesPtrOutputWithContext(ctx context.Context) IotHubPropertiesPtrOutput { + return o +} + +func (o IotHubPropertiesPtrOutput) Elem() IotHubPropertiesOutput { + return o.ApplyT(func(v *IotHubProperties) IotHubProperties { return *v }).(IotHubPropertiesOutput) +} + +// The shared access policies you can use to secure a connection to the IoT hub. +func (o IotHubPropertiesPtrOutput) AuthorizationPolicies() SharedAccessSignatureAuthorizationRuleArrayOutput { + return o.ApplyT(func(v *IotHubProperties) []SharedAccessSignatureAuthorizationRule { + if v == nil { + return nil + } + return v.AuthorizationPolicies + }).(SharedAccessSignatureAuthorizationRuleArrayOutput) +} + +// The IoT hub cloud-to-device messaging properties. +func (o IotHubPropertiesPtrOutput) CloudToDevice() CloudToDevicePropertiesPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *CloudToDeviceProperties { + if v == nil { + return nil + } + return v.CloudToDevice + }).(CloudToDevicePropertiesPtrOutput) +} + +// IoT hub comments. +func (o IotHubPropertiesPtrOutput) Comments() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *string { + if v == nil { + return nil + } + return v.Comments + }).(pulumi.StringPtrOutput) +} + +// If True, file upload notifications are enabled. +func (o IotHubPropertiesPtrOutput) EnableFileUploadNotifications() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *bool { + if v == nil { + return nil + } + return v.EnableFileUploadNotifications + }).(pulumi.BoolPtrOutput) +} + +// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. +func (o IotHubPropertiesPtrOutput) EventHubEndpoints() EventHubPropertiesMapOutput { + return o.ApplyT(func(v *IotHubProperties) map[string]EventHubProperties { + if v == nil { + return nil + } + return v.EventHubEndpoints + }).(EventHubPropertiesMapOutput) +} + +// The capabilities and features enabled for the IoT hub. +func (o IotHubPropertiesPtrOutput) Features() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *string { + if v == nil { + return nil + } + return v.Features + }).(pulumi.StringPtrOutput) +} + +// The IP filter rules. +func (o IotHubPropertiesPtrOutput) IpFilterRules() IpFilterRuleArrayOutput { + return o.ApplyT(func(v *IotHubProperties) []IpFilterRule { + if v == nil { + return nil + } + return v.IpFilterRules + }).(IpFilterRuleArrayOutput) +} + +// The messaging endpoint properties for the file upload notification queue. +func (o IotHubPropertiesPtrOutput) MessagingEndpoints() MessagingEndpointPropertiesMapOutput { + return o.ApplyT(func(v *IotHubProperties) map[string]MessagingEndpointProperties { + if v == nil { + return nil + } + return v.MessagingEndpoints + }).(MessagingEndpointPropertiesMapOutput) +} + +// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. +func (o IotHubPropertiesPtrOutput) MinTlsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *string { + if v == nil { + return nil + } + return v.MinTlsVersion + }).(pulumi.StringPtrOutput) +} + +// Private endpoint connections created on this IotHub +func (o IotHubPropertiesPtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput { + return o.ApplyT(func(v *IotHubProperties) []PrivateEndpointConnectionType { + if v == nil { + return nil + } + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionTypeArrayOutput) +} + +// Whether requests from Public Network are allowed +func (o IotHubPropertiesPtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *string { + if v == nil { + return nil + } + return v.PublicNetworkAccess + }).(pulumi.StringPtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +func (o IotHubPropertiesPtrOutput) Routing() RoutingPropertiesPtrOutput { + return o.ApplyT(func(v *IotHubProperties) *RoutingProperties { + if v == nil { + return nil + } + return v.Routing + }).(RoutingPropertiesPtrOutput) +} + +// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. +func (o IotHubPropertiesPtrOutput) StorageEndpoints() StorageEndpointPropertiesMapOutput { + return o.ApplyT(func(v *IotHubProperties) map[string]StorageEndpointProperties { + if v == nil { + return nil + } + return v.StorageEndpoints + }).(StorageEndpointPropertiesMapOutput) +} + +// The properties of an IoT hub. +type IotHubPropertiesResponse struct { + // The shared access policies you can use to secure a connection to the IoT hub. + AuthorizationPolicies []SharedAccessSignatureAuthorizationRuleResponse `pulumi:"authorizationPolicies"` + // The IoT hub cloud-to-device messaging properties. + CloudToDevice *CloudToDevicePropertiesResponse `pulumi:"cloudToDevice"` + // IoT hub comments. + Comments *string `pulumi:"comments"` + // If True, file upload notifications are enabled. + EnableFileUploadNotifications *bool `pulumi:"enableFileUploadNotifications"` + // The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + EventHubEndpoints map[string]EventHubPropertiesResponse `pulumi:"eventHubEndpoints"` + // The capabilities and features enabled for the IoT hub. + Features *string `pulumi:"features"` + // The name of the host. + HostName string `pulumi:"hostName"` + // The IP filter rules. + IpFilterRules []IpFilterRuleResponse `pulumi:"ipFilterRules"` + // Primary and secondary location for iot hub + Locations []IotHubLocationDescriptionResponse `pulumi:"locations"` + // The messaging endpoint properties for the file upload notification queue. + MessagingEndpoints map[string]MessagingEndpointPropertiesResponse `pulumi:"messagingEndpoints"` + // Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + MinTlsVersion *string `pulumi:"minTlsVersion"` + // Private endpoint connections created on this IotHub + PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` + // The provisioning state. + ProvisioningState string `pulumi:"provisioningState"` + // Whether requests from Public Network are allowed + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` + // The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + Routing *RoutingPropertiesResponse `pulumi:"routing"` + // The hub state. + State string `pulumi:"state"` + // The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + StorageEndpoints map[string]StorageEndpointPropertiesResponse `pulumi:"storageEndpoints"` +} + +// IotHubPropertiesResponseInput is an input type that accepts IotHubPropertiesResponseArgs and IotHubPropertiesResponseOutput values. +// You can construct a concrete instance of `IotHubPropertiesResponseInput` via: +// +// IotHubPropertiesResponseArgs{...} +type IotHubPropertiesResponseInput interface { + pulumi.Input + + ToIotHubPropertiesResponseOutput() IotHubPropertiesResponseOutput + ToIotHubPropertiesResponseOutputWithContext(context.Context) IotHubPropertiesResponseOutput +} + +// The properties of an IoT hub. +type IotHubPropertiesResponseArgs struct { + // The shared access policies you can use to secure a connection to the IoT hub. + AuthorizationPolicies SharedAccessSignatureAuthorizationRuleResponseArrayInput `pulumi:"authorizationPolicies"` + // The IoT hub cloud-to-device messaging properties. + CloudToDevice CloudToDevicePropertiesResponsePtrInput `pulumi:"cloudToDevice"` + // IoT hub comments. + Comments pulumi.StringPtrInput `pulumi:"comments"` + // If True, file upload notifications are enabled. + EnableFileUploadNotifications pulumi.BoolPtrInput `pulumi:"enableFileUploadNotifications"` + // The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + EventHubEndpoints EventHubPropertiesResponseMapInput `pulumi:"eventHubEndpoints"` + // The capabilities and features enabled for the IoT hub. + Features pulumi.StringPtrInput `pulumi:"features"` + // The name of the host. + HostName pulumi.StringInput `pulumi:"hostName"` + // The IP filter rules. + IpFilterRules IpFilterRuleResponseArrayInput `pulumi:"ipFilterRules"` + // Primary and secondary location for iot hub + Locations IotHubLocationDescriptionResponseArrayInput `pulumi:"locations"` + // The messaging endpoint properties for the file upload notification queue. + MessagingEndpoints MessagingEndpointPropertiesResponseMapInput `pulumi:"messagingEndpoints"` + // Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + MinTlsVersion pulumi.StringPtrInput `pulumi:"minTlsVersion"` + // Private endpoint connections created on this IotHub + PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput `pulumi:"privateEndpointConnections"` + // The provisioning state. + ProvisioningState pulumi.StringInput `pulumi:"provisioningState"` + // Whether requests from Public Network are allowed + PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"` + // The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + Routing RoutingPropertiesResponsePtrInput `pulumi:"routing"` + // The hub state. + State pulumi.StringInput `pulumi:"state"` + // The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + StorageEndpoints StorageEndpointPropertiesResponseMapInput `pulumi:"storageEndpoints"` +} + +func (IotHubPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubPropertiesResponse)(nil)).Elem() +} + +func (i IotHubPropertiesResponseArgs) ToIotHubPropertiesResponseOutput() IotHubPropertiesResponseOutput { + return i.ToIotHubPropertiesResponseOutputWithContext(context.Background()) +} + +func (i IotHubPropertiesResponseArgs) ToIotHubPropertiesResponseOutputWithContext(ctx context.Context) IotHubPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesResponseOutput) +} + +func (i IotHubPropertiesResponseArgs) ToIotHubPropertiesResponsePtrOutput() IotHubPropertiesResponsePtrOutput { + return i.ToIotHubPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i IotHubPropertiesResponseArgs) ToIotHubPropertiesResponsePtrOutputWithContext(ctx context.Context) IotHubPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesResponseOutput).ToIotHubPropertiesResponsePtrOutputWithContext(ctx) +} + +// IotHubPropertiesResponsePtrInput is an input type that accepts IotHubPropertiesResponseArgs, IotHubPropertiesResponsePtr and IotHubPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `IotHubPropertiesResponsePtrInput` via: +// +// IotHubPropertiesResponseArgs{...} +// +// or: +// +// nil +type IotHubPropertiesResponsePtrInput interface { + pulumi.Input + + ToIotHubPropertiesResponsePtrOutput() IotHubPropertiesResponsePtrOutput + ToIotHubPropertiesResponsePtrOutputWithContext(context.Context) IotHubPropertiesResponsePtrOutput +} + +type iotHubPropertiesResponsePtrType IotHubPropertiesResponseArgs + +func IotHubPropertiesResponsePtr(v *IotHubPropertiesResponseArgs) IotHubPropertiesResponsePtrInput { + return (*iotHubPropertiesResponsePtrType)(v) +} + +func (*iotHubPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubPropertiesResponse)(nil)).Elem() +} + +func (i *iotHubPropertiesResponsePtrType) ToIotHubPropertiesResponsePtrOutput() IotHubPropertiesResponsePtrOutput { + return i.ToIotHubPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *iotHubPropertiesResponsePtrType) ToIotHubPropertiesResponsePtrOutputWithContext(ctx context.Context) IotHubPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubPropertiesResponsePtrOutput) +} + +// The properties of an IoT hub. +type IotHubPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (IotHubPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubPropertiesResponse)(nil)).Elem() +} + +func (o IotHubPropertiesResponseOutput) ToIotHubPropertiesResponseOutput() IotHubPropertiesResponseOutput { + return o +} + +func (o IotHubPropertiesResponseOutput) ToIotHubPropertiesResponseOutputWithContext(ctx context.Context) IotHubPropertiesResponseOutput { + return o +} + +func (o IotHubPropertiesResponseOutput) ToIotHubPropertiesResponsePtrOutput() IotHubPropertiesResponsePtrOutput { + return o.ToIotHubPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o IotHubPropertiesResponseOutput) ToIotHubPropertiesResponsePtrOutputWithContext(ctx context.Context) IotHubPropertiesResponsePtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *IotHubPropertiesResponse { + return &v + }).(IotHubPropertiesResponsePtrOutput) +} + +// The shared access policies you can use to secure a connection to the IoT hub. +func (o IotHubPropertiesResponseOutput) AuthorizationPolicies() SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) []SharedAccessSignatureAuthorizationRuleResponse { + return v.AuthorizationPolicies + }).(SharedAccessSignatureAuthorizationRuleResponseArrayOutput) +} + +// The IoT hub cloud-to-device messaging properties. +func (o IotHubPropertiesResponseOutput) CloudToDevice() CloudToDevicePropertiesResponsePtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *CloudToDevicePropertiesResponse { return v.CloudToDevice }).(CloudToDevicePropertiesResponsePtrOutput) +} + +// IoT hub comments. +func (o IotHubPropertiesResponseOutput) Comments() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *string { return v.Comments }).(pulumi.StringPtrOutput) +} + +// If True, file upload notifications are enabled. +func (o IotHubPropertiesResponseOutput) EnableFileUploadNotifications() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *bool { return v.EnableFileUploadNotifications }).(pulumi.BoolPtrOutput) +} + +// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. +func (o IotHubPropertiesResponseOutput) EventHubEndpoints() EventHubPropertiesResponseMapOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) map[string]EventHubPropertiesResponse { return v.EventHubEndpoints }).(EventHubPropertiesResponseMapOutput) +} + +// The capabilities and features enabled for the IoT hub. +func (o IotHubPropertiesResponseOutput) Features() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *string { return v.Features }).(pulumi.StringPtrOutput) +} + +// The name of the host. +func (o IotHubPropertiesResponseOutput) HostName() pulumi.StringOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) string { return v.HostName }).(pulumi.StringOutput) +} + +// The IP filter rules. +func (o IotHubPropertiesResponseOutput) IpFilterRules() IpFilterRuleResponseArrayOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) []IpFilterRuleResponse { return v.IpFilterRules }).(IpFilterRuleResponseArrayOutput) +} + +// Primary and secondary location for iot hub +func (o IotHubPropertiesResponseOutput) Locations() IotHubLocationDescriptionResponseArrayOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) []IotHubLocationDescriptionResponse { return v.Locations }).(IotHubLocationDescriptionResponseArrayOutput) +} + +// The messaging endpoint properties for the file upload notification queue. +func (o IotHubPropertiesResponseOutput) MessagingEndpoints() MessagingEndpointPropertiesResponseMapOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) map[string]MessagingEndpointPropertiesResponse { + return v.MessagingEndpoints + }).(MessagingEndpointPropertiesResponseMapOutput) +} + +// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. +func (o IotHubPropertiesResponseOutput) MinTlsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *string { return v.MinTlsVersion }).(pulumi.StringPtrOutput) +} + +// Private endpoint connections created on this IotHub +func (o IotHubPropertiesResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) []PrivateEndpointConnectionResponse { + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The provisioning state. +func (o IotHubPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +// Whether requests from Public Network are allowed +func (o IotHubPropertiesResponseOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +func (o IotHubPropertiesResponseOutput) Routing() RoutingPropertiesResponsePtrOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) *RoutingPropertiesResponse { return v.Routing }).(RoutingPropertiesResponsePtrOutput) +} + +// The hub state. +func (o IotHubPropertiesResponseOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) string { return v.State }).(pulumi.StringOutput) +} + +// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. +func (o IotHubPropertiesResponseOutput) StorageEndpoints() StorageEndpointPropertiesResponseMapOutput { + return o.ApplyT(func(v IotHubPropertiesResponse) map[string]StorageEndpointPropertiesResponse { + return v.StorageEndpoints + }).(StorageEndpointPropertiesResponseMapOutput) +} + +type IotHubPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (IotHubPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubPropertiesResponse)(nil)).Elem() +} + +func (o IotHubPropertiesResponsePtrOutput) ToIotHubPropertiesResponsePtrOutput() IotHubPropertiesResponsePtrOutput { + return o +} + +func (o IotHubPropertiesResponsePtrOutput) ToIotHubPropertiesResponsePtrOutputWithContext(ctx context.Context) IotHubPropertiesResponsePtrOutput { + return o +} + +func (o IotHubPropertiesResponsePtrOutput) Elem() IotHubPropertiesResponseOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) IotHubPropertiesResponse { return *v }).(IotHubPropertiesResponseOutput) +} + +// The shared access policies you can use to secure a connection to the IoT hub. +func (o IotHubPropertiesResponsePtrOutput) AuthorizationPolicies() SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) []SharedAccessSignatureAuthorizationRuleResponse { + if v == nil { + return nil + } + return v.AuthorizationPolicies + }).(SharedAccessSignatureAuthorizationRuleResponseArrayOutput) +} + +// The IoT hub cloud-to-device messaging properties. +func (o IotHubPropertiesResponsePtrOutput) CloudToDevice() CloudToDevicePropertiesResponsePtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *CloudToDevicePropertiesResponse { + if v == nil { + return nil + } + return v.CloudToDevice + }).(CloudToDevicePropertiesResponsePtrOutput) +} + +// IoT hub comments. +func (o IotHubPropertiesResponsePtrOutput) Comments() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return v.Comments + }).(pulumi.StringPtrOutput) +} + +// If True, file upload notifications are enabled. +func (o IotHubPropertiesResponsePtrOutput) EnableFileUploadNotifications() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *bool { + if v == nil { + return nil + } + return v.EnableFileUploadNotifications + }).(pulumi.BoolPtrOutput) +} + +// The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. +func (o IotHubPropertiesResponsePtrOutput) EventHubEndpoints() EventHubPropertiesResponseMapOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) map[string]EventHubPropertiesResponse { + if v == nil { + return nil + } + return v.EventHubEndpoints + }).(EventHubPropertiesResponseMapOutput) +} + +// The capabilities and features enabled for the IoT hub. +func (o IotHubPropertiesResponsePtrOutput) Features() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return v.Features + }).(pulumi.StringPtrOutput) +} + +// The name of the host. +func (o IotHubPropertiesResponsePtrOutput) HostName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return &v.HostName + }).(pulumi.StringPtrOutput) +} + +// The IP filter rules. +func (o IotHubPropertiesResponsePtrOutput) IpFilterRules() IpFilterRuleResponseArrayOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) []IpFilterRuleResponse { + if v == nil { + return nil + } + return v.IpFilterRules + }).(IpFilterRuleResponseArrayOutput) +} + +// Primary and secondary location for iot hub +func (o IotHubPropertiesResponsePtrOutput) Locations() IotHubLocationDescriptionResponseArrayOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) []IotHubLocationDescriptionResponse { + if v == nil { + return nil + } + return v.Locations + }).(IotHubLocationDescriptionResponseArrayOutput) +} + +// The messaging endpoint properties for the file upload notification queue. +func (o IotHubPropertiesResponsePtrOutput) MessagingEndpoints() MessagingEndpointPropertiesResponseMapOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) map[string]MessagingEndpointPropertiesResponse { + if v == nil { + return nil + } + return v.MessagingEndpoints + }).(MessagingEndpointPropertiesResponseMapOutput) +} + +// Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. +func (o IotHubPropertiesResponsePtrOutput) MinTlsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return v.MinTlsVersion + }).(pulumi.StringPtrOutput) +} + +// Private endpoint connections created on this IotHub +func (o IotHubPropertiesResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) []PrivateEndpointConnectionResponse { + if v == nil { + return nil + } + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The provisioning state. +func (o IotHubPropertiesResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return &v.ProvisioningState + }).(pulumi.StringPtrOutput) +} + +// Whether requests from Public Network are allowed +func (o IotHubPropertiesResponsePtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return v.PublicNetworkAccess + }).(pulumi.StringPtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +func (o IotHubPropertiesResponsePtrOutput) Routing() RoutingPropertiesResponsePtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *RoutingPropertiesResponse { + if v == nil { + return nil + } + return v.Routing + }).(RoutingPropertiesResponsePtrOutput) +} + +// The hub state. +func (o IotHubPropertiesResponsePtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) *string { + if v == nil { + return nil + } + return &v.State + }).(pulumi.StringPtrOutput) +} + +// The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. +func (o IotHubPropertiesResponsePtrOutput) StorageEndpoints() StorageEndpointPropertiesResponseMapOutput { + return o.ApplyT(func(v *IotHubPropertiesResponse) map[string]StorageEndpointPropertiesResponse { + if v == nil { + return nil + } + return v.StorageEndpoints + }).(StorageEndpointPropertiesResponseMapOutput) +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfo struct { + // The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + Capacity *int `pulumi:"capacity"` + // The name of the SKU. + Name string `pulumi:"name"` +} + +// IotHubSkuInfoInput is an input type that accepts IotHubSkuInfoArgs and IotHubSkuInfoOutput values. +// You can construct a concrete instance of `IotHubSkuInfoInput` via: +// +// IotHubSkuInfoArgs{...} +type IotHubSkuInfoInput interface { + pulumi.Input + + ToIotHubSkuInfoOutput() IotHubSkuInfoOutput + ToIotHubSkuInfoOutputWithContext(context.Context) IotHubSkuInfoOutput +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfoArgs struct { + // The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // The name of the SKU. + Name pulumi.StringInput `pulumi:"name"` +} + +func (IotHubSkuInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubSkuInfo)(nil)).Elem() +} + +func (i IotHubSkuInfoArgs) ToIotHubSkuInfoOutput() IotHubSkuInfoOutput { + return i.ToIotHubSkuInfoOutputWithContext(context.Background()) +} + +func (i IotHubSkuInfoArgs) ToIotHubSkuInfoOutputWithContext(ctx context.Context) IotHubSkuInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoOutput) +} + +func (i IotHubSkuInfoArgs) ToIotHubSkuInfoPtrOutput() IotHubSkuInfoPtrOutput { + return i.ToIotHubSkuInfoPtrOutputWithContext(context.Background()) +} + +func (i IotHubSkuInfoArgs) ToIotHubSkuInfoPtrOutputWithContext(ctx context.Context) IotHubSkuInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoOutput).ToIotHubSkuInfoPtrOutputWithContext(ctx) +} + +// IotHubSkuInfoPtrInput is an input type that accepts IotHubSkuInfoArgs, IotHubSkuInfoPtr and IotHubSkuInfoPtrOutput values. +// You can construct a concrete instance of `IotHubSkuInfoPtrInput` via: +// +// IotHubSkuInfoArgs{...} +// +// or: +// +// nil +type IotHubSkuInfoPtrInput interface { + pulumi.Input + + ToIotHubSkuInfoPtrOutput() IotHubSkuInfoPtrOutput + ToIotHubSkuInfoPtrOutputWithContext(context.Context) IotHubSkuInfoPtrOutput +} + +type iotHubSkuInfoPtrType IotHubSkuInfoArgs + +func IotHubSkuInfoPtr(v *IotHubSkuInfoArgs) IotHubSkuInfoPtrInput { + return (*iotHubSkuInfoPtrType)(v) +} + +func (*iotHubSkuInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubSkuInfo)(nil)).Elem() +} + +func (i *iotHubSkuInfoPtrType) ToIotHubSkuInfoPtrOutput() IotHubSkuInfoPtrOutput { + return i.ToIotHubSkuInfoPtrOutputWithContext(context.Background()) +} + +func (i *iotHubSkuInfoPtrType) ToIotHubSkuInfoPtrOutputWithContext(ctx context.Context) IotHubSkuInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoPtrOutput) +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfoOutput struct{ *pulumi.OutputState } + +func (IotHubSkuInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubSkuInfo)(nil)).Elem() +} + +func (o IotHubSkuInfoOutput) ToIotHubSkuInfoOutput() IotHubSkuInfoOutput { + return o +} + +func (o IotHubSkuInfoOutput) ToIotHubSkuInfoOutputWithContext(ctx context.Context) IotHubSkuInfoOutput { + return o +} + +func (o IotHubSkuInfoOutput) ToIotHubSkuInfoPtrOutput() IotHubSkuInfoPtrOutput { + return o.ToIotHubSkuInfoPtrOutputWithContext(context.Background()) +} + +func (o IotHubSkuInfoOutput) ToIotHubSkuInfoPtrOutputWithContext(ctx context.Context) IotHubSkuInfoPtrOutput { + return o.ApplyT(func(v IotHubSkuInfo) *IotHubSkuInfo { + return &v + }).(IotHubSkuInfoPtrOutput) +} + +// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. +func (o IotHubSkuInfoOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v IotHubSkuInfo) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// The name of the SKU. +func (o IotHubSkuInfoOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v IotHubSkuInfo) string { return v.Name }).(pulumi.StringOutput) +} + +type IotHubSkuInfoPtrOutput struct{ *pulumi.OutputState } + +func (IotHubSkuInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubSkuInfo)(nil)).Elem() +} + +func (o IotHubSkuInfoPtrOutput) ToIotHubSkuInfoPtrOutput() IotHubSkuInfoPtrOutput { + return o +} + +func (o IotHubSkuInfoPtrOutput) ToIotHubSkuInfoPtrOutputWithContext(ctx context.Context) IotHubSkuInfoPtrOutput { + return o +} + +func (o IotHubSkuInfoPtrOutput) Elem() IotHubSkuInfoOutput { + return o.ApplyT(func(v *IotHubSkuInfo) IotHubSkuInfo { return *v }).(IotHubSkuInfoOutput) +} + +// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. +func (o IotHubSkuInfoPtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *IotHubSkuInfo) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// The name of the SKU. +func (o IotHubSkuInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubSkuInfo) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfoResponse struct { + // The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + Capacity *int `pulumi:"capacity"` + // The name of the SKU. + Name string `pulumi:"name"` + // The billing tier for the IoT hub. + Tier string `pulumi:"tier"` +} + +// IotHubSkuInfoResponseInput is an input type that accepts IotHubSkuInfoResponseArgs and IotHubSkuInfoResponseOutput values. +// You can construct a concrete instance of `IotHubSkuInfoResponseInput` via: +// +// IotHubSkuInfoResponseArgs{...} +type IotHubSkuInfoResponseInput interface { + pulumi.Input + + ToIotHubSkuInfoResponseOutput() IotHubSkuInfoResponseOutput + ToIotHubSkuInfoResponseOutputWithContext(context.Context) IotHubSkuInfoResponseOutput +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfoResponseArgs struct { + // The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // The name of the SKU. + Name pulumi.StringInput `pulumi:"name"` + // The billing tier for the IoT hub. + Tier pulumi.StringInput `pulumi:"tier"` +} + +func (IotHubSkuInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubSkuInfoResponse)(nil)).Elem() +} + +func (i IotHubSkuInfoResponseArgs) ToIotHubSkuInfoResponseOutput() IotHubSkuInfoResponseOutput { + return i.ToIotHubSkuInfoResponseOutputWithContext(context.Background()) +} + +func (i IotHubSkuInfoResponseArgs) ToIotHubSkuInfoResponseOutputWithContext(ctx context.Context) IotHubSkuInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoResponseOutput) +} + +func (i IotHubSkuInfoResponseArgs) ToIotHubSkuInfoResponsePtrOutput() IotHubSkuInfoResponsePtrOutput { + return i.ToIotHubSkuInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i IotHubSkuInfoResponseArgs) ToIotHubSkuInfoResponsePtrOutputWithContext(ctx context.Context) IotHubSkuInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoResponseOutput).ToIotHubSkuInfoResponsePtrOutputWithContext(ctx) +} + +// IotHubSkuInfoResponsePtrInput is an input type that accepts IotHubSkuInfoResponseArgs, IotHubSkuInfoResponsePtr and IotHubSkuInfoResponsePtrOutput values. +// You can construct a concrete instance of `IotHubSkuInfoResponsePtrInput` via: +// +// IotHubSkuInfoResponseArgs{...} +// +// or: +// +// nil +type IotHubSkuInfoResponsePtrInput interface { + pulumi.Input + + ToIotHubSkuInfoResponsePtrOutput() IotHubSkuInfoResponsePtrOutput + ToIotHubSkuInfoResponsePtrOutputWithContext(context.Context) IotHubSkuInfoResponsePtrOutput +} + +type iotHubSkuInfoResponsePtrType IotHubSkuInfoResponseArgs + +func IotHubSkuInfoResponsePtr(v *IotHubSkuInfoResponseArgs) IotHubSkuInfoResponsePtrInput { + return (*iotHubSkuInfoResponsePtrType)(v) +} + +func (*iotHubSkuInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubSkuInfoResponse)(nil)).Elem() +} + +func (i *iotHubSkuInfoResponsePtrType) ToIotHubSkuInfoResponsePtrOutput() IotHubSkuInfoResponsePtrOutput { + return i.ToIotHubSkuInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *iotHubSkuInfoResponsePtrType) ToIotHubSkuInfoResponsePtrOutputWithContext(ctx context.Context) IotHubSkuInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IotHubSkuInfoResponsePtrOutput) +} + +// Information about the SKU of the IoT hub. +type IotHubSkuInfoResponseOutput struct{ *pulumi.OutputState } + +func (IotHubSkuInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IotHubSkuInfoResponse)(nil)).Elem() +} + +func (o IotHubSkuInfoResponseOutput) ToIotHubSkuInfoResponseOutput() IotHubSkuInfoResponseOutput { + return o +} + +func (o IotHubSkuInfoResponseOutput) ToIotHubSkuInfoResponseOutputWithContext(ctx context.Context) IotHubSkuInfoResponseOutput { + return o +} + +func (o IotHubSkuInfoResponseOutput) ToIotHubSkuInfoResponsePtrOutput() IotHubSkuInfoResponsePtrOutput { + return o.ToIotHubSkuInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o IotHubSkuInfoResponseOutput) ToIotHubSkuInfoResponsePtrOutputWithContext(ctx context.Context) IotHubSkuInfoResponsePtrOutput { + return o.ApplyT(func(v IotHubSkuInfoResponse) *IotHubSkuInfoResponse { + return &v + }).(IotHubSkuInfoResponsePtrOutput) +} + +// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. +func (o IotHubSkuInfoResponseOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v IotHubSkuInfoResponse) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// The name of the SKU. +func (o IotHubSkuInfoResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v IotHubSkuInfoResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The billing tier for the IoT hub. +func (o IotHubSkuInfoResponseOutput) Tier() pulumi.StringOutput { + return o.ApplyT(func(v IotHubSkuInfoResponse) string { return v.Tier }).(pulumi.StringOutput) +} + +type IotHubSkuInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (IotHubSkuInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IotHubSkuInfoResponse)(nil)).Elem() +} + +func (o IotHubSkuInfoResponsePtrOutput) ToIotHubSkuInfoResponsePtrOutput() IotHubSkuInfoResponsePtrOutput { + return o +} + +func (o IotHubSkuInfoResponsePtrOutput) ToIotHubSkuInfoResponsePtrOutputWithContext(ctx context.Context) IotHubSkuInfoResponsePtrOutput { + return o +} + +func (o IotHubSkuInfoResponsePtrOutput) Elem() IotHubSkuInfoResponseOutput { + return o.ApplyT(func(v *IotHubSkuInfoResponse) IotHubSkuInfoResponse { return *v }).(IotHubSkuInfoResponseOutput) +} + +// The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. +func (o IotHubSkuInfoResponsePtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *IotHubSkuInfoResponse) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// The name of the SKU. +func (o IotHubSkuInfoResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubSkuInfoResponse) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The billing tier for the IoT hub. +func (o IotHubSkuInfoResponsePtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IotHubSkuInfoResponse) *string { + if v == nil { + return nil + } + return &v.Tier + }).(pulumi.StringPtrOutput) +} + +// The IP filter rules for the IoT hub. +type IpFilterRule struct { + // The desired action for requests captured by this rule. + Action string `pulumi:"action"` + // The name of the IP filter rule. + FilterName string `pulumi:"filterName"` + // A string that contains the IP address range in CIDR notation for the rule. + IpMask string `pulumi:"ipMask"` +} + +// IpFilterRuleInput is an input type that accepts IpFilterRuleArgs and IpFilterRuleOutput values. +// You can construct a concrete instance of `IpFilterRuleInput` via: +// +// IpFilterRuleArgs{...} +type IpFilterRuleInput interface { + pulumi.Input + + ToIpFilterRuleOutput() IpFilterRuleOutput + ToIpFilterRuleOutputWithContext(context.Context) IpFilterRuleOutput +} + +// The IP filter rules for the IoT hub. +type IpFilterRuleArgs struct { + // The desired action for requests captured by this rule. + Action pulumi.StringInput `pulumi:"action"` + // The name of the IP filter rule. + FilterName pulumi.StringInput `pulumi:"filterName"` + // A string that contains the IP address range in CIDR notation for the rule. + IpMask pulumi.StringInput `pulumi:"ipMask"` +} + +func (IpFilterRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpFilterRule)(nil)).Elem() +} + +func (i IpFilterRuleArgs) ToIpFilterRuleOutput() IpFilterRuleOutput { + return i.ToIpFilterRuleOutputWithContext(context.Background()) +} + +func (i IpFilterRuleArgs) ToIpFilterRuleOutputWithContext(ctx context.Context) IpFilterRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFilterRuleOutput) +} + +// IpFilterRuleArrayInput is an input type that accepts IpFilterRuleArray and IpFilterRuleArrayOutput values. +// You can construct a concrete instance of `IpFilterRuleArrayInput` via: +// +// IpFilterRuleArray{ IpFilterRuleArgs{...} } +type IpFilterRuleArrayInput interface { + pulumi.Input + + ToIpFilterRuleArrayOutput() IpFilterRuleArrayOutput + ToIpFilterRuleArrayOutputWithContext(context.Context) IpFilterRuleArrayOutput +} + +type IpFilterRuleArray []IpFilterRuleInput + +func (IpFilterRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpFilterRule)(nil)).Elem() +} + +func (i IpFilterRuleArray) ToIpFilterRuleArrayOutput() IpFilterRuleArrayOutput { + return i.ToIpFilterRuleArrayOutputWithContext(context.Background()) +} + +func (i IpFilterRuleArray) ToIpFilterRuleArrayOutputWithContext(ctx context.Context) IpFilterRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFilterRuleArrayOutput) +} + +// The IP filter rules for the IoT hub. +type IpFilterRuleOutput struct{ *pulumi.OutputState } + +func (IpFilterRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpFilterRule)(nil)).Elem() +} + +func (o IpFilterRuleOutput) ToIpFilterRuleOutput() IpFilterRuleOutput { + return o +} + +func (o IpFilterRuleOutput) ToIpFilterRuleOutputWithContext(ctx context.Context) IpFilterRuleOutput { + return o +} + +// The desired action for requests captured by this rule. +func (o IpFilterRuleOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRule) string { return v.Action }).(pulumi.StringOutput) +} + +// The name of the IP filter rule. +func (o IpFilterRuleOutput) FilterName() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRule) string { return v.FilterName }).(pulumi.StringOutput) +} + +// A string that contains the IP address range in CIDR notation for the rule. +func (o IpFilterRuleOutput) IpMask() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRule) string { return v.IpMask }).(pulumi.StringOutput) +} + +type IpFilterRuleArrayOutput struct{ *pulumi.OutputState } + +func (IpFilterRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpFilterRule)(nil)).Elem() +} + +func (o IpFilterRuleArrayOutput) ToIpFilterRuleArrayOutput() IpFilterRuleArrayOutput { + return o +} + +func (o IpFilterRuleArrayOutput) ToIpFilterRuleArrayOutputWithContext(ctx context.Context) IpFilterRuleArrayOutput { + return o +} + +func (o IpFilterRuleArrayOutput) Index(i pulumi.IntInput) IpFilterRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpFilterRule { + return vs[0].([]IpFilterRule)[vs[1].(int)] + }).(IpFilterRuleOutput) +} + +// The IP filter rules for the IoT hub. +type IpFilterRuleResponse struct { + // The desired action for requests captured by this rule. + Action string `pulumi:"action"` + // The name of the IP filter rule. + FilterName string `pulumi:"filterName"` + // A string that contains the IP address range in CIDR notation for the rule. + IpMask string `pulumi:"ipMask"` +} + +// IpFilterRuleResponseInput is an input type that accepts IpFilterRuleResponseArgs and IpFilterRuleResponseOutput values. +// You can construct a concrete instance of `IpFilterRuleResponseInput` via: +// +// IpFilterRuleResponseArgs{...} +type IpFilterRuleResponseInput interface { + pulumi.Input + + ToIpFilterRuleResponseOutput() IpFilterRuleResponseOutput + ToIpFilterRuleResponseOutputWithContext(context.Context) IpFilterRuleResponseOutput +} + +// The IP filter rules for the IoT hub. +type IpFilterRuleResponseArgs struct { + // The desired action for requests captured by this rule. + Action pulumi.StringInput `pulumi:"action"` + // The name of the IP filter rule. + FilterName pulumi.StringInput `pulumi:"filterName"` + // A string that contains the IP address range in CIDR notation for the rule. + IpMask pulumi.StringInput `pulumi:"ipMask"` +} + +func (IpFilterRuleResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpFilterRuleResponse)(nil)).Elem() +} + +func (i IpFilterRuleResponseArgs) ToIpFilterRuleResponseOutput() IpFilterRuleResponseOutput { + return i.ToIpFilterRuleResponseOutputWithContext(context.Background()) +} + +func (i IpFilterRuleResponseArgs) ToIpFilterRuleResponseOutputWithContext(ctx context.Context) IpFilterRuleResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFilterRuleResponseOutput) +} + +// IpFilterRuleResponseArrayInput is an input type that accepts IpFilterRuleResponseArray and IpFilterRuleResponseArrayOutput values. +// You can construct a concrete instance of `IpFilterRuleResponseArrayInput` via: +// +// IpFilterRuleResponseArray{ IpFilterRuleResponseArgs{...} } +type IpFilterRuleResponseArrayInput interface { + pulumi.Input + + ToIpFilterRuleResponseArrayOutput() IpFilterRuleResponseArrayOutput + ToIpFilterRuleResponseArrayOutputWithContext(context.Context) IpFilterRuleResponseArrayOutput +} + +type IpFilterRuleResponseArray []IpFilterRuleResponseInput + +func (IpFilterRuleResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpFilterRuleResponse)(nil)).Elem() +} + +func (i IpFilterRuleResponseArray) ToIpFilterRuleResponseArrayOutput() IpFilterRuleResponseArrayOutput { + return i.ToIpFilterRuleResponseArrayOutputWithContext(context.Background()) +} + +func (i IpFilterRuleResponseArray) ToIpFilterRuleResponseArrayOutputWithContext(ctx context.Context) IpFilterRuleResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFilterRuleResponseArrayOutput) +} + +// The IP filter rules for the IoT hub. +type IpFilterRuleResponseOutput struct{ *pulumi.OutputState } + +func (IpFilterRuleResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpFilterRuleResponse)(nil)).Elem() +} + +func (o IpFilterRuleResponseOutput) ToIpFilterRuleResponseOutput() IpFilterRuleResponseOutput { + return o +} + +func (o IpFilterRuleResponseOutput) ToIpFilterRuleResponseOutputWithContext(ctx context.Context) IpFilterRuleResponseOutput { + return o +} + +// The desired action for requests captured by this rule. +func (o IpFilterRuleResponseOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRuleResponse) string { return v.Action }).(pulumi.StringOutput) +} + +// The name of the IP filter rule. +func (o IpFilterRuleResponseOutput) FilterName() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRuleResponse) string { return v.FilterName }).(pulumi.StringOutput) +} + +// A string that contains the IP address range in CIDR notation for the rule. +func (o IpFilterRuleResponseOutput) IpMask() pulumi.StringOutput { + return o.ApplyT(func(v IpFilterRuleResponse) string { return v.IpMask }).(pulumi.StringOutput) +} + +type IpFilterRuleResponseArrayOutput struct{ *pulumi.OutputState } + +func (IpFilterRuleResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpFilterRuleResponse)(nil)).Elem() +} + +func (o IpFilterRuleResponseArrayOutput) ToIpFilterRuleResponseArrayOutput() IpFilterRuleResponseArrayOutput { + return o +} + +func (o IpFilterRuleResponseArrayOutput) ToIpFilterRuleResponseArrayOutputWithContext(ctx context.Context) IpFilterRuleResponseArrayOutput { + return o +} + +func (o IpFilterRuleResponseArrayOutput) Index(i pulumi.IntInput) IpFilterRuleResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpFilterRuleResponse { + return vs[0].([]IpFilterRuleResponse)[vs[1].(int)] + }).(IpFilterRuleResponseOutput) +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointProperties struct { + // The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + LockDurationAsIso8601 *string `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + TtlAsIso8601 *string `pulumi:"ttlAsIso8601"` +} + +// MessagingEndpointPropertiesInput is an input type that accepts MessagingEndpointPropertiesArgs and MessagingEndpointPropertiesOutput values. +// You can construct a concrete instance of `MessagingEndpointPropertiesInput` via: +// +// MessagingEndpointPropertiesArgs{...} +type MessagingEndpointPropertiesInput interface { + pulumi.Input + + ToMessagingEndpointPropertiesOutput() MessagingEndpointPropertiesOutput + ToMessagingEndpointPropertiesOutputWithContext(context.Context) MessagingEndpointPropertiesOutput +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointPropertiesArgs struct { + // The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + LockDurationAsIso8601 pulumi.StringPtrInput `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + TtlAsIso8601 pulumi.StringPtrInput `pulumi:"ttlAsIso8601"` +} + +func (MessagingEndpointPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MessagingEndpointProperties)(nil)).Elem() +} + +func (i MessagingEndpointPropertiesArgs) ToMessagingEndpointPropertiesOutput() MessagingEndpointPropertiesOutput { + return i.ToMessagingEndpointPropertiesOutputWithContext(context.Background()) +} + +func (i MessagingEndpointPropertiesArgs) ToMessagingEndpointPropertiesOutputWithContext(ctx context.Context) MessagingEndpointPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MessagingEndpointPropertiesOutput) +} + +// MessagingEndpointPropertiesMapInput is an input type that accepts MessagingEndpointPropertiesMap and MessagingEndpointPropertiesMapOutput values. +// You can construct a concrete instance of `MessagingEndpointPropertiesMapInput` via: +// +// MessagingEndpointPropertiesMap{ "key": MessagingEndpointPropertiesArgs{...} } +type MessagingEndpointPropertiesMapInput interface { + pulumi.Input + + ToMessagingEndpointPropertiesMapOutput() MessagingEndpointPropertiesMapOutput + ToMessagingEndpointPropertiesMapOutputWithContext(context.Context) MessagingEndpointPropertiesMapOutput +} + +type MessagingEndpointPropertiesMap map[string]MessagingEndpointPropertiesInput + +func (MessagingEndpointPropertiesMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]MessagingEndpointProperties)(nil)).Elem() +} + +func (i MessagingEndpointPropertiesMap) ToMessagingEndpointPropertiesMapOutput() MessagingEndpointPropertiesMapOutput { + return i.ToMessagingEndpointPropertiesMapOutputWithContext(context.Background()) +} + +func (i MessagingEndpointPropertiesMap) ToMessagingEndpointPropertiesMapOutputWithContext(ctx context.Context) MessagingEndpointPropertiesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MessagingEndpointPropertiesMapOutput) +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointPropertiesOutput struct{ *pulumi.OutputState } + +func (MessagingEndpointPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MessagingEndpointProperties)(nil)).Elem() +} + +func (o MessagingEndpointPropertiesOutput) ToMessagingEndpointPropertiesOutput() MessagingEndpointPropertiesOutput { + return o +} + +func (o MessagingEndpointPropertiesOutput) ToMessagingEndpointPropertiesOutputWithContext(ctx context.Context) MessagingEndpointPropertiesOutput { + return o +} + +// The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v MessagingEndpointProperties) *string { return v.LockDurationAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v MessagingEndpointProperties) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v MessagingEndpointProperties) *string { return v.TtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type MessagingEndpointPropertiesMapOutput struct{ *pulumi.OutputState } + +func (MessagingEndpointPropertiesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]MessagingEndpointProperties)(nil)).Elem() +} + +func (o MessagingEndpointPropertiesMapOutput) ToMessagingEndpointPropertiesMapOutput() MessagingEndpointPropertiesMapOutput { + return o +} + +func (o MessagingEndpointPropertiesMapOutput) ToMessagingEndpointPropertiesMapOutputWithContext(ctx context.Context) MessagingEndpointPropertiesMapOutput { + return o +} + +func (o MessagingEndpointPropertiesMapOutput) MapIndex(k pulumi.StringInput) MessagingEndpointPropertiesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) MessagingEndpointProperties { + return vs[0].(map[string]MessagingEndpointProperties)[vs[1].(string)] + }).(MessagingEndpointPropertiesOutput) +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointPropertiesResponse struct { + // The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + LockDurationAsIso8601 *string `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + TtlAsIso8601 *string `pulumi:"ttlAsIso8601"` +} + +// MessagingEndpointPropertiesResponseInput is an input type that accepts MessagingEndpointPropertiesResponseArgs and MessagingEndpointPropertiesResponseOutput values. +// You can construct a concrete instance of `MessagingEndpointPropertiesResponseInput` via: +// +// MessagingEndpointPropertiesResponseArgs{...} +type MessagingEndpointPropertiesResponseInput interface { + pulumi.Input + + ToMessagingEndpointPropertiesResponseOutput() MessagingEndpointPropertiesResponseOutput + ToMessagingEndpointPropertiesResponseOutputWithContext(context.Context) MessagingEndpointPropertiesResponseOutput +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointPropertiesResponseArgs struct { + // The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + LockDurationAsIso8601 pulumi.StringPtrInput `pulumi:"lockDurationAsIso8601"` + // The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` + // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + TtlAsIso8601 pulumi.StringPtrInput `pulumi:"ttlAsIso8601"` +} + +func (MessagingEndpointPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MessagingEndpointPropertiesResponse)(nil)).Elem() +} + +func (i MessagingEndpointPropertiesResponseArgs) ToMessagingEndpointPropertiesResponseOutput() MessagingEndpointPropertiesResponseOutput { + return i.ToMessagingEndpointPropertiesResponseOutputWithContext(context.Background()) +} + +func (i MessagingEndpointPropertiesResponseArgs) ToMessagingEndpointPropertiesResponseOutputWithContext(ctx context.Context) MessagingEndpointPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(MessagingEndpointPropertiesResponseOutput) +} + +// MessagingEndpointPropertiesResponseMapInput is an input type that accepts MessagingEndpointPropertiesResponseMap and MessagingEndpointPropertiesResponseMapOutput values. +// You can construct a concrete instance of `MessagingEndpointPropertiesResponseMapInput` via: +// +// MessagingEndpointPropertiesResponseMap{ "key": MessagingEndpointPropertiesResponseArgs{...} } +type MessagingEndpointPropertiesResponseMapInput interface { + pulumi.Input + + ToMessagingEndpointPropertiesResponseMapOutput() MessagingEndpointPropertiesResponseMapOutput + ToMessagingEndpointPropertiesResponseMapOutputWithContext(context.Context) MessagingEndpointPropertiesResponseMapOutput +} + +type MessagingEndpointPropertiesResponseMap map[string]MessagingEndpointPropertiesResponseInput + +func (MessagingEndpointPropertiesResponseMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]MessagingEndpointPropertiesResponse)(nil)).Elem() +} + +func (i MessagingEndpointPropertiesResponseMap) ToMessagingEndpointPropertiesResponseMapOutput() MessagingEndpointPropertiesResponseMapOutput { + return i.ToMessagingEndpointPropertiesResponseMapOutputWithContext(context.Background()) +} + +func (i MessagingEndpointPropertiesResponseMap) ToMessagingEndpointPropertiesResponseMapOutputWithContext(ctx context.Context) MessagingEndpointPropertiesResponseMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MessagingEndpointPropertiesResponseMapOutput) +} + +// The properties of the messaging endpoints used by this IoT hub. +type MessagingEndpointPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MessagingEndpointPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MessagingEndpointPropertiesResponse)(nil)).Elem() +} + +func (o MessagingEndpointPropertiesResponseOutput) ToMessagingEndpointPropertiesResponseOutput() MessagingEndpointPropertiesResponseOutput { + return o +} + +func (o MessagingEndpointPropertiesResponseOutput) ToMessagingEndpointPropertiesResponseOutputWithContext(ctx context.Context) MessagingEndpointPropertiesResponseOutput { + return o +} + +// The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesResponseOutput) LockDurationAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v MessagingEndpointPropertiesResponse) *string { return v.LockDurationAsIso8601 }).(pulumi.StringPtrOutput) +} + +// The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesResponseOutput) MaxDeliveryCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v MessagingEndpointPropertiesResponse) *int { return v.MaxDeliveryCount }).(pulumi.IntPtrOutput) +} + +// The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. +func (o MessagingEndpointPropertiesResponseOutput) TtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v MessagingEndpointPropertiesResponse) *string { return v.TtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type MessagingEndpointPropertiesResponseMapOutput struct{ *pulumi.OutputState } + +func (MessagingEndpointPropertiesResponseMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]MessagingEndpointPropertiesResponse)(nil)).Elem() +} + +func (o MessagingEndpointPropertiesResponseMapOutput) ToMessagingEndpointPropertiesResponseMapOutput() MessagingEndpointPropertiesResponseMapOutput { + return o +} + +func (o MessagingEndpointPropertiesResponseMapOutput) ToMessagingEndpointPropertiesResponseMapOutputWithContext(ctx context.Context) MessagingEndpointPropertiesResponseMapOutput { + return o +} + +func (o MessagingEndpointPropertiesResponseMapOutput) MapIndex(k pulumi.StringInput) MessagingEndpointPropertiesResponseOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) MessagingEndpointPropertiesResponse { + return vs[0].(map[string]MessagingEndpointPropertiesResponse)[vs[1].(string)] + }).(MessagingEndpointPropertiesResponseOutput) +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionType struct { + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionProperties `pulumi:"properties"` +} + +// PrivateEndpointConnectionTypeInput is an input type that accepts PrivateEndpointConnectionTypeArgs and PrivateEndpointConnectionTypeOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionTypeInput` via: +// +// PrivateEndpointConnectionTypeArgs{...} +type PrivateEndpointConnectionTypeInput interface { + pulumi.Input + + ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput + ToPrivateEndpointConnectionTypeOutputWithContext(context.Context) PrivateEndpointConnectionTypeOutput +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionTypeArgs struct { + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesInput `pulumi:"properties"` +} + +func (PrivateEndpointConnectionTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionType)(nil)).Elem() +} + +func (i PrivateEndpointConnectionTypeArgs) ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput { + return i.ToPrivateEndpointConnectionTypeOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionTypeArgs) ToPrivateEndpointConnectionTypeOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionTypeOutput) +} + +// PrivateEndpointConnectionTypeArrayInput is an input type that accepts PrivateEndpointConnectionTypeArray and PrivateEndpointConnectionTypeArrayOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionTypeArrayInput` via: +// +// PrivateEndpointConnectionTypeArray{ PrivateEndpointConnectionTypeArgs{...} } +type PrivateEndpointConnectionTypeArrayInput interface { + pulumi.Input + + ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput + ToPrivateEndpointConnectionTypeArrayOutputWithContext(context.Context) PrivateEndpointConnectionTypeArrayOutput +} + +type PrivateEndpointConnectionTypeArray []PrivateEndpointConnectionTypeInput + +func (PrivateEndpointConnectionTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionType)(nil)).Elem() +} + +func (i PrivateEndpointConnectionTypeArray) ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput { + return i.ToPrivateEndpointConnectionTypeArrayOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionTypeArray) ToPrivateEndpointConnectionTypeArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionTypeArrayOutput) +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionTypeOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionType)(nil)).Elem() +} + +func (o PrivateEndpointConnectionTypeOutput) ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput { + return o +} + +func (o PrivateEndpointConnectionTypeOutput) ToPrivateEndpointConnectionTypeOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeOutput { + return o +} + +// The properties of a private endpoint connection +func (o PrivateEndpointConnectionTypeOutput) Properties() PrivateEndpointConnectionPropertiesOutput { + return o.ApplyT(func(v PrivateEndpointConnectionType) PrivateEndpointConnectionProperties { return v.Properties }).(PrivateEndpointConnectionPropertiesOutput) +} + +type PrivateEndpointConnectionTypeArrayOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionType)(nil)).Elem() +} + +func (o PrivateEndpointConnectionTypeArrayOutput) ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput { + return o +} + +func (o PrivateEndpointConnectionTypeArrayOutput) ToPrivateEndpointConnectionTypeArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeArrayOutput { + return o +} + +func (o PrivateEndpointConnectionTypeArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionType { + return vs[0].([]PrivateEndpointConnectionType)[vs[1].(int)] + }).(PrivateEndpointConnectionTypeOutput) +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionProperties struct { + // The current state of a private endpoint connection + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"` +} + +// PrivateEndpointConnectionPropertiesInput is an input type that accepts PrivateEndpointConnectionPropertiesArgs and PrivateEndpointConnectionPropertiesOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionPropertiesInput` via: +// +// PrivateEndpointConnectionPropertiesArgs{...} +type PrivateEndpointConnectionPropertiesInput interface { + pulumi.Input + + ToPrivateEndpointConnectionPropertiesOutput() PrivateEndpointConnectionPropertiesOutput + ToPrivateEndpointConnectionPropertiesOutputWithContext(context.Context) PrivateEndpointConnectionPropertiesOutput +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionPropertiesArgs struct { + // The current state of a private endpoint connection + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateInput `pulumi:"privateLinkServiceConnectionState"` +} + +func (PrivateEndpointConnectionPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionProperties)(nil)).Elem() +} + +func (i PrivateEndpointConnectionPropertiesArgs) ToPrivateEndpointConnectionPropertiesOutput() PrivateEndpointConnectionPropertiesOutput { + return i.ToPrivateEndpointConnectionPropertiesOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionPropertiesArgs) ToPrivateEndpointConnectionPropertiesOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesOutput) +} + +func (i PrivateEndpointConnectionPropertiesArgs) ToPrivateEndpointConnectionPropertiesPtrOutput() PrivateEndpointConnectionPropertiesPtrOutput { + return i.ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionPropertiesArgs) ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesOutput).ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(ctx) +} + +// PrivateEndpointConnectionPropertiesPtrInput is an input type that accepts PrivateEndpointConnectionPropertiesArgs, PrivateEndpointConnectionPropertiesPtr and PrivateEndpointConnectionPropertiesPtrOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionPropertiesPtrInput` via: +// +// PrivateEndpointConnectionPropertiesArgs{...} +// +// or: +// +// nil +type PrivateEndpointConnectionPropertiesPtrInput interface { + pulumi.Input + + ToPrivateEndpointConnectionPropertiesPtrOutput() PrivateEndpointConnectionPropertiesPtrOutput + ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(context.Context) PrivateEndpointConnectionPropertiesPtrOutput +} + +type privateEndpointConnectionPropertiesPtrType PrivateEndpointConnectionPropertiesArgs + +func PrivateEndpointConnectionPropertiesPtr(v *PrivateEndpointConnectionPropertiesArgs) PrivateEndpointConnectionPropertiesPtrInput { + return (*privateEndpointConnectionPropertiesPtrType)(v) +} + +func (*privateEndpointConnectionPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointConnectionProperties)(nil)).Elem() +} + +func (i *privateEndpointConnectionPropertiesPtrType) ToPrivateEndpointConnectionPropertiesPtrOutput() PrivateEndpointConnectionPropertiesPtrOutput { + return i.ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *privateEndpointConnectionPropertiesPtrType) ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesPtrOutput) +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionPropertiesOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionProperties)(nil)).Elem() +} + +func (o PrivateEndpointConnectionPropertiesOutput) ToPrivateEndpointConnectionPropertiesOutput() PrivateEndpointConnectionPropertiesOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesOutput) ToPrivateEndpointConnectionPropertiesOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesOutput) ToPrivateEndpointConnectionPropertiesPtrOutput() PrivateEndpointConnectionPropertiesPtrOutput { + return o.ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(context.Background()) +} + +func (o PrivateEndpointConnectionPropertiesOutput) ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesPtrOutput { + return o.ApplyT(func(v PrivateEndpointConnectionProperties) *PrivateEndpointConnectionProperties { + return &v + }).(PrivateEndpointConnectionPropertiesPtrOutput) +} + +// The current state of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateOutput { + return o.ApplyT(func(v PrivateEndpointConnectionProperties) PrivateLinkServiceConnectionState { + return v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStateOutput) +} + +type PrivateEndpointConnectionPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointConnectionProperties)(nil)).Elem() +} + +func (o PrivateEndpointConnectionPropertiesPtrOutput) ToPrivateEndpointConnectionPropertiesPtrOutput() PrivateEndpointConnectionPropertiesPtrOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesPtrOutput) ToPrivateEndpointConnectionPropertiesPtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesPtrOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesPtrOutput) Elem() PrivateEndpointConnectionPropertiesOutput { + return o.ApplyT(func(v *PrivateEndpointConnectionProperties) PrivateEndpointConnectionProperties { return *v }).(PrivateEndpointConnectionPropertiesOutput) +} + +// The current state of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesPtrOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStatePtrOutput { + return o.ApplyT(func(v *PrivateEndpointConnectionProperties) *PrivateLinkServiceConnectionState { + if v == nil { + return nil + } + return &v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStatePtrOutput) +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionPropertiesResponse struct { + // The private endpoint property of a private endpoint connection + PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` + // The current state of a private endpoint connection + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` +} + +// PrivateEndpointConnectionPropertiesResponseInput is an input type that accepts PrivateEndpointConnectionPropertiesResponseArgs and PrivateEndpointConnectionPropertiesResponseOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionPropertiesResponseInput` via: +// +// PrivateEndpointConnectionPropertiesResponseArgs{...} +type PrivateEndpointConnectionPropertiesResponseInput interface { + pulumi.Input + + ToPrivateEndpointConnectionPropertiesResponseOutput() PrivateEndpointConnectionPropertiesResponseOutput + ToPrivateEndpointConnectionPropertiesResponseOutputWithContext(context.Context) PrivateEndpointConnectionPropertiesResponseOutput +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionPropertiesResponseArgs struct { + // The private endpoint property of a private endpoint connection + PrivateEndpoint PrivateEndpointResponsePtrInput `pulumi:"privateEndpoint"` + // The current state of a private endpoint connection + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponseInput `pulumi:"privateLinkServiceConnectionState"` +} + +func (PrivateEndpointConnectionPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionPropertiesResponse)(nil)).Elem() +} + +func (i PrivateEndpointConnectionPropertiesResponseArgs) ToPrivateEndpointConnectionPropertiesResponseOutput() PrivateEndpointConnectionPropertiesResponseOutput { + return i.ToPrivateEndpointConnectionPropertiesResponseOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionPropertiesResponseArgs) ToPrivateEndpointConnectionPropertiesResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesResponseOutput) +} + +func (i PrivateEndpointConnectionPropertiesResponseArgs) ToPrivateEndpointConnectionPropertiesResponsePtrOutput() PrivateEndpointConnectionPropertiesResponsePtrOutput { + return i.ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionPropertiesResponseArgs) ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesResponseOutput).ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(ctx) +} + +// PrivateEndpointConnectionPropertiesResponsePtrInput is an input type that accepts PrivateEndpointConnectionPropertiesResponseArgs, PrivateEndpointConnectionPropertiesResponsePtr and PrivateEndpointConnectionPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionPropertiesResponsePtrInput` via: +// +// PrivateEndpointConnectionPropertiesResponseArgs{...} +// +// or: +// +// nil +type PrivateEndpointConnectionPropertiesResponsePtrInput interface { + pulumi.Input + + ToPrivateEndpointConnectionPropertiesResponsePtrOutput() PrivateEndpointConnectionPropertiesResponsePtrOutput + ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(context.Context) PrivateEndpointConnectionPropertiesResponsePtrOutput +} + +type privateEndpointConnectionPropertiesResponsePtrType PrivateEndpointConnectionPropertiesResponseArgs + +func PrivateEndpointConnectionPropertiesResponsePtr(v *PrivateEndpointConnectionPropertiesResponseArgs) PrivateEndpointConnectionPropertiesResponsePtrInput { + return (*privateEndpointConnectionPropertiesResponsePtrType)(v) +} + +func (*privateEndpointConnectionPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointConnectionPropertiesResponse)(nil)).Elem() +} + +func (i *privateEndpointConnectionPropertiesResponsePtrType) ToPrivateEndpointConnectionPropertiesResponsePtrOutput() PrivateEndpointConnectionPropertiesResponsePtrOutput { + return i.ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *privateEndpointConnectionPropertiesResponsePtrType) ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionPropertiesResponsePtrOutput) +} + +// The properties of a private endpoint connection +type PrivateEndpointConnectionPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionPropertiesResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionPropertiesResponseOutput) ToPrivateEndpointConnectionPropertiesResponseOutput() PrivateEndpointConnectionPropertiesResponseOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesResponseOutput) ToPrivateEndpointConnectionPropertiesResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponseOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesResponseOutput) ToPrivateEndpointConnectionPropertiesResponsePtrOutput() PrivateEndpointConnectionPropertiesResponsePtrOutput { + return o.ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o PrivateEndpointConnectionPropertiesResponseOutput) ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponsePtrOutput { + return o.ApplyT(func(v PrivateEndpointConnectionPropertiesResponse) *PrivateEndpointConnectionPropertiesResponse { + return &v + }).(PrivateEndpointConnectionPropertiesResponsePtrOutput) +} + +// The private endpoint property of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesResponseOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { + return o.ApplyT(func(v PrivateEndpointConnectionPropertiesResponse) *PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponsePtrOutput) +} + +// The current state of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponseOutput { + return o.ApplyT(func(v PrivateEndpointConnectionPropertiesResponse) PrivateLinkServiceConnectionStateResponse { + return v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStateResponseOutput) +} + +type PrivateEndpointConnectionPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointConnectionPropertiesResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionPropertiesResponsePtrOutput) ToPrivateEndpointConnectionPropertiesResponsePtrOutput() PrivateEndpointConnectionPropertiesResponsePtrOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesResponsePtrOutput) ToPrivateEndpointConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointConnectionPropertiesResponsePtrOutput { + return o +} + +func (o PrivateEndpointConnectionPropertiesResponsePtrOutput) Elem() PrivateEndpointConnectionPropertiesResponseOutput { + return o.ApplyT(func(v *PrivateEndpointConnectionPropertiesResponse) PrivateEndpointConnectionPropertiesResponse { + return *v + }).(PrivateEndpointConnectionPropertiesResponseOutput) +} + +// The private endpoint property of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesResponsePtrOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { + return o.ApplyT(func(v *PrivateEndpointConnectionPropertiesResponse) *PrivateEndpointResponse { + if v == nil { + return nil + } + return v.PrivateEndpoint + }).(PrivateEndpointResponsePtrOutput) +} + +// The current state of a private endpoint connection +func (o PrivateEndpointConnectionPropertiesResponsePtrOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput { + return o.ApplyT(func(v *PrivateEndpointConnectionPropertiesResponse) *PrivateLinkServiceConnectionStateResponse { + if v == nil { + return nil + } + return &v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStateResponsePtrOutput) +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionResponse struct { + // The resource identifier. + Id string `pulumi:"id"` + // The resource name. + Name string `pulumi:"name"` + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesResponse `pulumi:"properties"` + // The resource type. + Type string `pulumi:"type"` +} + +// PrivateEndpointConnectionResponseInput is an input type that accepts PrivateEndpointConnectionResponseArgs and PrivateEndpointConnectionResponseOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionResponseInput` via: +// +// PrivateEndpointConnectionResponseArgs{...} +type PrivateEndpointConnectionResponseInput interface { + pulumi.Input + + ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput + ToPrivateEndpointConnectionResponseOutputWithContext(context.Context) PrivateEndpointConnectionResponseOutput +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionResponseArgs struct { + // The resource identifier. + Id pulumi.StringInput `pulumi:"id"` + // The resource name. + Name pulumi.StringInput `pulumi:"name"` + // The properties of a private endpoint connection + Properties PrivateEndpointConnectionPropertiesResponseInput `pulumi:"properties"` + // The resource type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (PrivateEndpointConnectionResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (i PrivateEndpointConnectionResponseArgs) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput { + return i.ToPrivateEndpointConnectionResponseOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionResponseArgs) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionResponseOutput) +} + +// PrivateEndpointConnectionResponseArrayInput is an input type that accepts PrivateEndpointConnectionResponseArray and PrivateEndpointConnectionResponseArrayOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionResponseArrayInput` via: +// +// PrivateEndpointConnectionResponseArray{ PrivateEndpointConnectionResponseArgs{...} } +type PrivateEndpointConnectionResponseArrayInput interface { + pulumi.Input + + ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput + ToPrivateEndpointConnectionResponseArrayOutputWithContext(context.Context) PrivateEndpointConnectionResponseArrayOutput +} + +type PrivateEndpointConnectionResponseArray []PrivateEndpointConnectionResponseInput + +func (PrivateEndpointConnectionResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (i PrivateEndpointConnectionResponseArray) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput { + return i.ToPrivateEndpointConnectionResponseArrayOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionResponseArray) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The private endpoint connection of an IotHub +type PrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput { + return o +} + +func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput { + return o +} + +// The resource identifier. +func (o PrivateEndpointConnectionResponseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Id }).(pulumi.StringOutput) +} + +// The resource name. +func (o PrivateEndpointConnectionResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The properties of a private endpoint connection +func (o PrivateEndpointConnectionResponseOutput) Properties() PrivateEndpointConnectionPropertiesResponseOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) PrivateEndpointConnectionPropertiesResponse { + return v.Properties + }).(PrivateEndpointConnectionPropertiesResponseOutput) +} + +// The resource type. +func (o PrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput) +} + +type PrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput { + return o +} + +func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput { + return o +} + +func (o PrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionResponse { + return vs[0].([]PrivateEndpointConnectionResponse)[vs[1].(int)] + }).(PrivateEndpointConnectionResponseOutput) +} + +// The private endpoint property of a private endpoint connection +type PrivateEndpointResponse struct { + // The resource identifier. + Id string `pulumi:"id"` +} + +// PrivateEndpointResponseInput is an input type that accepts PrivateEndpointResponseArgs and PrivateEndpointResponseOutput values. +// You can construct a concrete instance of `PrivateEndpointResponseInput` via: +// +// PrivateEndpointResponseArgs{...} +type PrivateEndpointResponseInput interface { + pulumi.Input + + ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput + ToPrivateEndpointResponseOutputWithContext(context.Context) PrivateEndpointResponseOutput +} + +// The private endpoint property of a private endpoint connection +type PrivateEndpointResponseArgs struct { + // The resource identifier. + Id pulumi.StringInput `pulumi:"id"` +} + +func (PrivateEndpointResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem() +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput { + return i.ToPrivateEndpointResponseOutputWithContext(context.Background()) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponseOutput) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return i.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponseOutput).ToPrivateEndpointResponsePtrOutputWithContext(ctx) +} + +// PrivateEndpointResponsePtrInput is an input type that accepts PrivateEndpointResponseArgs, PrivateEndpointResponsePtr and PrivateEndpointResponsePtrOutput values. +// You can construct a concrete instance of `PrivateEndpointResponsePtrInput` via: +// +// PrivateEndpointResponseArgs{...} +// +// or: +// +// nil +type PrivateEndpointResponsePtrInput interface { + pulumi.Input + + ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput + ToPrivateEndpointResponsePtrOutputWithContext(context.Context) PrivateEndpointResponsePtrOutput +} + +type privateEndpointResponsePtrType PrivateEndpointResponseArgs + +func PrivateEndpointResponsePtr(v *PrivateEndpointResponseArgs) PrivateEndpointResponsePtrInput { + return (*privateEndpointResponsePtrType)(v) +} + +func (*privateEndpointResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointResponse)(nil)).Elem() +} + +func (i *privateEndpointResponsePtrType) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return i.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (i *privateEndpointResponsePtrType) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponsePtrOutput) +} + +// The private endpoint property of a private endpoint connection +type PrivateEndpointResponseOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem() +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput { + return o +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput { + return o +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return o.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return o.ApplyT(func(v PrivateEndpointResponse) *PrivateEndpointResponse { + return &v + }).(PrivateEndpointResponsePtrOutput) +} + +// The resource identifier. +func (o PrivateEndpointResponseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Id }).(pulumi.StringOutput) +} + +type PrivateEndpointResponsePtrOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointResponse)(nil)).Elem() +} + +func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return o +} + +func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return o +} + +func (o PrivateEndpointResponsePtrOutput) Elem() PrivateEndpointResponseOutput { + return o.ApplyT(func(v *PrivateEndpointResponse) PrivateEndpointResponse { return *v }).(PrivateEndpointResponseOutput) +} + +// The resource identifier. +func (o PrivateEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateEndpointResponse) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionState struct { + // Actions required for a private endpoint connection + ActionsRequired *string `pulumi:"actionsRequired"` + // The description for the current state of a private endpoint connection + Description string `pulumi:"description"` + // The status of a private endpoint connection + Status string `pulumi:"status"` +} + +// PrivateLinkServiceConnectionStateInput is an input type that accepts PrivateLinkServiceConnectionStateArgs and PrivateLinkServiceConnectionStateOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateInput` via: +// +// PrivateLinkServiceConnectionStateArgs{...} +type PrivateLinkServiceConnectionStateInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput + ToPrivateLinkServiceConnectionStateOutputWithContext(context.Context) PrivateLinkServiceConnectionStateOutput +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionStateArgs struct { + // Actions required for a private endpoint connection + ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"` + // The description for the current state of a private endpoint connection + Description pulumi.StringInput `pulumi:"description"` + // The status of a private endpoint connection + Status pulumi.StringInput `pulumi:"status"` +} + +func (PrivateLinkServiceConnectionStateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { + return i.ToPrivateLinkServiceConnectionStateOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput).ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx) +} + +// PrivateLinkServiceConnectionStatePtrInput is an input type that accepts PrivateLinkServiceConnectionStateArgs, PrivateLinkServiceConnectionStatePtr and PrivateLinkServiceConnectionStatePtrOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStatePtrInput` via: +// +// PrivateLinkServiceConnectionStateArgs{...} +// +// or: +// +// nil +type PrivateLinkServiceConnectionStatePtrInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput + ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStatePtrOutput +} + +type privateLinkServiceConnectionStatePtrType PrivateLinkServiceConnectionStateArgs + +func PrivateLinkServiceConnectionStatePtr(v *PrivateLinkServiceConnectionStateArgs) PrivateLinkServiceConnectionStatePtrInput { + return (*privateLinkServiceConnectionStatePtrType)(v) +} + +func (*privateLinkServiceConnectionStatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStatePtrOutput) +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionStateOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return o.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *PrivateLinkServiceConnectionState { + return &v + }).(PrivateLinkServiceConnectionStatePtrOutput) +} + +// Actions required for a private endpoint connection +func (o PrivateLinkServiceConnectionStateOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) +} + +// The description for the current state of a private endpoint connection +func (o PrivateLinkServiceConnectionStateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) string { return v.Description }).(pulumi.StringOutput) +} + +// The status of a private endpoint connection +func (o PrivateLinkServiceConnectionStateOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) string { return v.Status }).(pulumi.StringOutput) +} + +type PrivateLinkServiceConnectionStatePtrOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) Elem() PrivateLinkServiceConnectionStateOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) PrivateLinkServiceConnectionState { return *v }).(PrivateLinkServiceConnectionStateOutput) +} + +// Actions required for a private endpoint connection +func (o PrivateLinkServiceConnectionStatePtrOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return v.ActionsRequired + }).(pulumi.StringPtrOutput) +} + +// The description for the current state of a private endpoint connection +func (o PrivateLinkServiceConnectionStatePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return &v.Description + }).(pulumi.StringPtrOutput) +} + +// The status of a private endpoint connection +func (o PrivateLinkServiceConnectionStatePtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return &v.Status + }).(pulumi.StringPtrOutput) +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionStateResponse struct { + // Actions required for a private endpoint connection + ActionsRequired *string `pulumi:"actionsRequired"` + // The description for the current state of a private endpoint connection + Description string `pulumi:"description"` + // The status of a private endpoint connection + Status string `pulumi:"status"` +} + +// PrivateLinkServiceConnectionStateResponseInput is an input type that accepts PrivateLinkServiceConnectionStateResponseArgs and PrivateLinkServiceConnectionStateResponseOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateResponseInput` via: +// +// PrivateLinkServiceConnectionStateResponseArgs{...} +type PrivateLinkServiceConnectionStateResponseInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput + ToPrivateLinkServiceConnectionStateResponseOutputWithContext(context.Context) PrivateLinkServiceConnectionStateResponseOutput +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionStateResponseArgs struct { + // Actions required for a private endpoint connection + ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"` + // The description for the current state of a private endpoint connection + Description pulumi.StringInput `pulumi:"description"` + // The status of a private endpoint connection + Status pulumi.StringInput `pulumi:"status"` +} + +func (PrivateLinkServiceConnectionStateResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput { + return i.ToPrivateLinkServiceConnectionStateResponseOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponseOutput) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return i.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponseOutput).ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx) +} + +// PrivateLinkServiceConnectionStateResponsePtrInput is an input type that accepts PrivateLinkServiceConnectionStateResponseArgs, PrivateLinkServiceConnectionStateResponsePtr and PrivateLinkServiceConnectionStateResponsePtrOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateResponsePtrInput` via: +// +// PrivateLinkServiceConnectionStateResponseArgs{...} +// +// or: +// +// nil +type PrivateLinkServiceConnectionStateResponsePtrInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput + ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput +} + +type privateLinkServiceConnectionStateResponsePtrType PrivateLinkServiceConnectionStateResponseArgs + +func PrivateLinkServiceConnectionStateResponsePtr(v *PrivateLinkServiceConnectionStateResponseArgs) PrivateLinkServiceConnectionStateResponsePtrInput { + return (*privateLinkServiceConnectionStateResponsePtrType)(v) +} + +func (*privateLinkServiceConnectionStateResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (i *privateLinkServiceConnectionStateResponsePtrType) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return i.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (i *privateLinkServiceConnectionStateResponsePtrType) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponsePtrOutput) +} + +// The current state of a private endpoint connection +type PrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return o.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *PrivateLinkServiceConnectionStateResponse { + return &v + }).(PrivateLinkServiceConnectionStateResponsePtrOutput) +} + +// Actions required for a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) +} + +// The description for the current state of a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) string { return v.Description }).(pulumi.StringOutput) +} + +// The status of a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type PrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Elem() PrivateLinkServiceConnectionStateResponseOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) PrivateLinkServiceConnectionStateResponse { + return *v + }).(PrivateLinkServiceConnectionStateResponseOutput) +} + +// Actions required for a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return v.ActionsRequired + }).(pulumi.StringPtrOutput) +} + +// The description for the current state of a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return &v.Description + }).(pulumi.StringPtrOutput) +} + +// The status of a private endpoint connection +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return &v.Status + }).(pulumi.StringPtrOutput) +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RouteProperties struct { + // The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition *string `pulumi:"condition"` + // The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + EndpointNames []string `pulumi:"endpointNames"` + // Used to specify whether a route is enabled. + IsEnabled bool `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name string `pulumi:"name"` + // The source that the routing rule is to be applied to, such as DeviceMessages. + Source string `pulumi:"source"` +} + +// RoutePropertiesInput is an input type that accepts RoutePropertiesArgs and RoutePropertiesOutput values. +// You can construct a concrete instance of `RoutePropertiesInput` via: +// +// RoutePropertiesArgs{...} +type RoutePropertiesInput interface { + pulumi.Input + + ToRoutePropertiesOutput() RoutePropertiesOutput + ToRoutePropertiesOutputWithContext(context.Context) RoutePropertiesOutput +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RoutePropertiesArgs struct { + // The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition pulumi.StringPtrInput `pulumi:"condition"` + // The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // Used to specify whether a route is enabled. + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name pulumi.StringInput `pulumi:"name"` + // The source that the routing rule is to be applied to, such as DeviceMessages. + Source pulumi.StringInput `pulumi:"source"` +} + +func (RoutePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RouteProperties)(nil)).Elem() +} + +func (i RoutePropertiesArgs) ToRoutePropertiesOutput() RoutePropertiesOutput { + return i.ToRoutePropertiesOutputWithContext(context.Background()) +} + +func (i RoutePropertiesArgs) ToRoutePropertiesOutputWithContext(ctx context.Context) RoutePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutePropertiesOutput) +} + +// RoutePropertiesArrayInput is an input type that accepts RoutePropertiesArray and RoutePropertiesArrayOutput values. +// You can construct a concrete instance of `RoutePropertiesArrayInput` via: +// +// RoutePropertiesArray{ RoutePropertiesArgs{...} } +type RoutePropertiesArrayInput interface { + pulumi.Input + + ToRoutePropertiesArrayOutput() RoutePropertiesArrayOutput + ToRoutePropertiesArrayOutputWithContext(context.Context) RoutePropertiesArrayOutput +} + +type RoutePropertiesArray []RoutePropertiesInput + +func (RoutePropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RouteProperties)(nil)).Elem() +} + +func (i RoutePropertiesArray) ToRoutePropertiesArrayOutput() RoutePropertiesArrayOutput { + return i.ToRoutePropertiesArrayOutputWithContext(context.Background()) +} + +func (i RoutePropertiesArray) ToRoutePropertiesArrayOutputWithContext(ctx context.Context) RoutePropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutePropertiesArrayOutput) +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RoutePropertiesOutput struct{ *pulumi.OutputState } + +func (RoutePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RouteProperties)(nil)).Elem() +} + +func (o RoutePropertiesOutput) ToRoutePropertiesOutput() RoutePropertiesOutput { + return o +} + +func (o RoutePropertiesOutput) ToRoutePropertiesOutputWithContext(ctx context.Context) RoutePropertiesOutput { + return o +} + +// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o RoutePropertiesOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v RouteProperties) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. +func (o RoutePropertiesOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v RouteProperties) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// Used to specify whether a route is enabled. +func (o RoutePropertiesOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v RouteProperties) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o RoutePropertiesOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RouteProperties) string { return v.Name }).(pulumi.StringOutput) +} + +// The source that the routing rule is to be applied to, such as DeviceMessages. +func (o RoutePropertiesOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v RouteProperties) string { return v.Source }).(pulumi.StringOutput) +} + +type RoutePropertiesArrayOutput struct{ *pulumi.OutputState } + +func (RoutePropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RouteProperties)(nil)).Elem() +} + +func (o RoutePropertiesArrayOutput) ToRoutePropertiesArrayOutput() RoutePropertiesArrayOutput { + return o +} + +func (o RoutePropertiesArrayOutput) ToRoutePropertiesArrayOutputWithContext(ctx context.Context) RoutePropertiesArrayOutput { + return o +} + +func (o RoutePropertiesArrayOutput) Index(i pulumi.IntInput) RoutePropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteProperties { + return vs[0].([]RouteProperties)[vs[1].(int)] + }).(RoutePropertiesOutput) +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RoutePropertiesResponse struct { + // The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition *string `pulumi:"condition"` + // The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + EndpointNames []string `pulumi:"endpointNames"` + // Used to specify whether a route is enabled. + IsEnabled bool `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name string `pulumi:"name"` + // The source that the routing rule is to be applied to, such as DeviceMessages. + Source string `pulumi:"source"` +} + +// RoutePropertiesResponseInput is an input type that accepts RoutePropertiesResponseArgs and RoutePropertiesResponseOutput values. +// You can construct a concrete instance of `RoutePropertiesResponseInput` via: +// +// RoutePropertiesResponseArgs{...} +type RoutePropertiesResponseInput interface { + pulumi.Input + + ToRoutePropertiesResponseOutput() RoutePropertiesResponseOutput + ToRoutePropertiesResponseOutputWithContext(context.Context) RoutePropertiesResponseOutput +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RoutePropertiesResponseArgs struct { + // The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + Condition pulumi.StringPtrInput `pulumi:"condition"` + // The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` + // Used to specify whether a route is enabled. + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + Name pulumi.StringInput `pulumi:"name"` + // The source that the routing rule is to be applied to, such as DeviceMessages. + Source pulumi.StringInput `pulumi:"source"` +} + +func (RoutePropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutePropertiesResponse)(nil)).Elem() +} + +func (i RoutePropertiesResponseArgs) ToRoutePropertiesResponseOutput() RoutePropertiesResponseOutput { + return i.ToRoutePropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutePropertiesResponseArgs) ToRoutePropertiesResponseOutputWithContext(ctx context.Context) RoutePropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutePropertiesResponseOutput) +} + +// RoutePropertiesResponseArrayInput is an input type that accepts RoutePropertiesResponseArray and RoutePropertiesResponseArrayOutput values. +// You can construct a concrete instance of `RoutePropertiesResponseArrayInput` via: +// +// RoutePropertiesResponseArray{ RoutePropertiesResponseArgs{...} } +type RoutePropertiesResponseArrayInput interface { + pulumi.Input + + ToRoutePropertiesResponseArrayOutput() RoutePropertiesResponseArrayOutput + ToRoutePropertiesResponseArrayOutputWithContext(context.Context) RoutePropertiesResponseArrayOutput +} + +type RoutePropertiesResponseArray []RoutePropertiesResponseInput + +func (RoutePropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutePropertiesResponse)(nil)).Elem() +} + +func (i RoutePropertiesResponseArray) ToRoutePropertiesResponseArrayOutput() RoutePropertiesResponseArrayOutput { + return i.ToRoutePropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i RoutePropertiesResponseArray) ToRoutePropertiesResponseArrayOutputWithContext(ctx context.Context) RoutePropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutePropertiesResponseArrayOutput) +} + +// The properties of a routing rule that your IoT hub uses to route messages to endpoints. +type RoutePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutePropertiesResponse)(nil)).Elem() +} + +func (o RoutePropertiesResponseOutput) ToRoutePropertiesResponseOutput() RoutePropertiesResponseOutput { + return o +} + +func (o RoutePropertiesResponseOutput) ToRoutePropertiesResponseOutputWithContext(ctx context.Context) RoutePropertiesResponseOutput { + return o +} + +// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language +func (o RoutePropertiesResponseOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutePropertiesResponse) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. +func (o RoutePropertiesResponseOutput) EndpointNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoutePropertiesResponse) []string { return v.EndpointNames }).(pulumi.StringArrayOutput) +} + +// Used to specify whether a route is enabled. +func (o RoutePropertiesResponseOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v RoutePropertiesResponse) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} + +// The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. +func (o RoutePropertiesResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutePropertiesResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The source that the routing rule is to be applied to, such as DeviceMessages. +func (o RoutePropertiesResponseOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v RoutePropertiesResponse) string { return v.Source }).(pulumi.StringOutput) +} + +type RoutePropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (RoutePropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutePropertiesResponse)(nil)).Elem() +} + +func (o RoutePropertiesResponseArrayOutput) ToRoutePropertiesResponseArrayOutput() RoutePropertiesResponseArrayOutput { + return o +} + +func (o RoutePropertiesResponseArrayOutput) ToRoutePropertiesResponseArrayOutputWithContext(ctx context.Context) RoutePropertiesResponseArrayOutput { + return o +} + +func (o RoutePropertiesResponseArrayOutput) Index(i pulumi.IntInput) RoutePropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutePropertiesResponse { + return vs[0].([]RoutePropertiesResponse)[vs[1].(int)] + }).(RoutePropertiesResponseOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpoints struct { + // The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + EventHubs []RoutingEventHubProperties `pulumi:"eventHubs"` + // The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + ServiceBusQueues []RoutingServiceBusQueueEndpointProperties `pulumi:"serviceBusQueues"` + // The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + ServiceBusTopics []RoutingServiceBusTopicEndpointProperties `pulumi:"serviceBusTopics"` + // The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + StorageContainers []RoutingStorageContainerProperties `pulumi:"storageContainers"` +} + +// RoutingEndpointsInput is an input type that accepts RoutingEndpointsArgs and RoutingEndpointsOutput values. +// You can construct a concrete instance of `RoutingEndpointsInput` via: +// +// RoutingEndpointsArgs{...} +type RoutingEndpointsInput interface { + pulumi.Input + + ToRoutingEndpointsOutput() RoutingEndpointsOutput + ToRoutingEndpointsOutputWithContext(context.Context) RoutingEndpointsOutput +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpointsArgs struct { + // The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + EventHubs RoutingEventHubPropertiesArrayInput `pulumi:"eventHubs"` + // The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + ServiceBusQueues RoutingServiceBusQueueEndpointPropertiesArrayInput `pulumi:"serviceBusQueues"` + // The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + ServiceBusTopics RoutingServiceBusTopicEndpointPropertiesArrayInput `pulumi:"serviceBusTopics"` + // The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + StorageContainers RoutingStorageContainerPropertiesArrayInput `pulumi:"storageContainers"` +} + +func (RoutingEndpointsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEndpoints)(nil)).Elem() +} + +func (i RoutingEndpointsArgs) ToRoutingEndpointsOutput() RoutingEndpointsOutput { + return i.ToRoutingEndpointsOutputWithContext(context.Background()) +} + +func (i RoutingEndpointsArgs) ToRoutingEndpointsOutputWithContext(ctx context.Context) RoutingEndpointsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsOutput) +} + +func (i RoutingEndpointsArgs) ToRoutingEndpointsPtrOutput() RoutingEndpointsPtrOutput { + return i.ToRoutingEndpointsPtrOutputWithContext(context.Background()) +} + +func (i RoutingEndpointsArgs) ToRoutingEndpointsPtrOutputWithContext(ctx context.Context) RoutingEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsOutput).ToRoutingEndpointsPtrOutputWithContext(ctx) +} + +// RoutingEndpointsPtrInput is an input type that accepts RoutingEndpointsArgs, RoutingEndpointsPtr and RoutingEndpointsPtrOutput values. +// You can construct a concrete instance of `RoutingEndpointsPtrInput` via: +// +// RoutingEndpointsArgs{...} +// +// or: +// +// nil +type RoutingEndpointsPtrInput interface { + pulumi.Input + + ToRoutingEndpointsPtrOutput() RoutingEndpointsPtrOutput + ToRoutingEndpointsPtrOutputWithContext(context.Context) RoutingEndpointsPtrOutput +} + +type routingEndpointsPtrType RoutingEndpointsArgs + +func RoutingEndpointsPtr(v *RoutingEndpointsArgs) RoutingEndpointsPtrInput { + return (*routingEndpointsPtrType)(v) +} + +func (*routingEndpointsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingEndpoints)(nil)).Elem() +} + +func (i *routingEndpointsPtrType) ToRoutingEndpointsPtrOutput() RoutingEndpointsPtrOutput { + return i.ToRoutingEndpointsPtrOutputWithContext(context.Background()) +} + +func (i *routingEndpointsPtrType) ToRoutingEndpointsPtrOutputWithContext(ctx context.Context) RoutingEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsPtrOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpointsOutput struct{ *pulumi.OutputState } + +func (RoutingEndpointsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEndpoints)(nil)).Elem() +} + +func (o RoutingEndpointsOutput) ToRoutingEndpointsOutput() RoutingEndpointsOutput { + return o +} + +func (o RoutingEndpointsOutput) ToRoutingEndpointsOutputWithContext(ctx context.Context) RoutingEndpointsOutput { + return o +} + +func (o RoutingEndpointsOutput) ToRoutingEndpointsPtrOutput() RoutingEndpointsPtrOutput { + return o.ToRoutingEndpointsPtrOutputWithContext(context.Background()) +} + +func (o RoutingEndpointsOutput) ToRoutingEndpointsPtrOutputWithContext(ctx context.Context) RoutingEndpointsPtrOutput { + return o.ApplyT(func(v RoutingEndpoints) *RoutingEndpoints { + return &v + }).(RoutingEndpointsPtrOutput) +} + +// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. +func (o RoutingEndpointsOutput) EventHubs() RoutingEventHubPropertiesArrayOutput { + return o.ApplyT(func(v RoutingEndpoints) []RoutingEventHubProperties { return v.EventHubs }).(RoutingEventHubPropertiesArrayOutput) +} + +// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsOutput) ServiceBusQueues() RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return o.ApplyT(func(v RoutingEndpoints) []RoutingServiceBusQueueEndpointProperties { return v.ServiceBusQueues }).(RoutingServiceBusQueueEndpointPropertiesArrayOutput) +} + +// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsOutput) ServiceBusTopics() RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return o.ApplyT(func(v RoutingEndpoints) []RoutingServiceBusTopicEndpointProperties { return v.ServiceBusTopics }).(RoutingServiceBusTopicEndpointPropertiesArrayOutput) +} + +// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. +func (o RoutingEndpointsOutput) StorageContainers() RoutingStorageContainerPropertiesArrayOutput { + return o.ApplyT(func(v RoutingEndpoints) []RoutingStorageContainerProperties { return v.StorageContainers }).(RoutingStorageContainerPropertiesArrayOutput) +} + +type RoutingEndpointsPtrOutput struct{ *pulumi.OutputState } + +func (RoutingEndpointsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingEndpoints)(nil)).Elem() +} + +func (o RoutingEndpointsPtrOutput) ToRoutingEndpointsPtrOutput() RoutingEndpointsPtrOutput { + return o +} + +func (o RoutingEndpointsPtrOutput) ToRoutingEndpointsPtrOutputWithContext(ctx context.Context) RoutingEndpointsPtrOutput { + return o +} + +func (o RoutingEndpointsPtrOutput) Elem() RoutingEndpointsOutput { + return o.ApplyT(func(v *RoutingEndpoints) RoutingEndpoints { return *v }).(RoutingEndpointsOutput) +} + +// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. +func (o RoutingEndpointsPtrOutput) EventHubs() RoutingEventHubPropertiesArrayOutput { + return o.ApplyT(func(v *RoutingEndpoints) []RoutingEventHubProperties { + if v == nil { + return nil + } + return v.EventHubs + }).(RoutingEventHubPropertiesArrayOutput) +} + +// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsPtrOutput) ServiceBusQueues() RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return o.ApplyT(func(v *RoutingEndpoints) []RoutingServiceBusQueueEndpointProperties { + if v == nil { + return nil + } + return v.ServiceBusQueues + }).(RoutingServiceBusQueueEndpointPropertiesArrayOutput) +} + +// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsPtrOutput) ServiceBusTopics() RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return o.ApplyT(func(v *RoutingEndpoints) []RoutingServiceBusTopicEndpointProperties { + if v == nil { + return nil + } + return v.ServiceBusTopics + }).(RoutingServiceBusTopicEndpointPropertiesArrayOutput) +} + +// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. +func (o RoutingEndpointsPtrOutput) StorageContainers() RoutingStorageContainerPropertiesArrayOutput { + return o.ApplyT(func(v *RoutingEndpoints) []RoutingStorageContainerProperties { + if v == nil { + return nil + } + return v.StorageContainers + }).(RoutingStorageContainerPropertiesArrayOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpointsResponse struct { + // The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + EventHubs []RoutingEventHubPropertiesResponse `pulumi:"eventHubs"` + // The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + ServiceBusQueues []RoutingServiceBusQueueEndpointPropertiesResponse `pulumi:"serviceBusQueues"` + // The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + ServiceBusTopics []RoutingServiceBusTopicEndpointPropertiesResponse `pulumi:"serviceBusTopics"` + // The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + StorageContainers []RoutingStorageContainerPropertiesResponse `pulumi:"storageContainers"` +} + +// RoutingEndpointsResponseInput is an input type that accepts RoutingEndpointsResponseArgs and RoutingEndpointsResponseOutput values. +// You can construct a concrete instance of `RoutingEndpointsResponseInput` via: +// +// RoutingEndpointsResponseArgs{...} +type RoutingEndpointsResponseInput interface { + pulumi.Input + + ToRoutingEndpointsResponseOutput() RoutingEndpointsResponseOutput + ToRoutingEndpointsResponseOutputWithContext(context.Context) RoutingEndpointsResponseOutput +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpointsResponseArgs struct { + // The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + EventHubs RoutingEventHubPropertiesResponseArrayInput `pulumi:"eventHubs"` + // The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + ServiceBusQueues RoutingServiceBusQueueEndpointPropertiesResponseArrayInput `pulumi:"serviceBusQueues"` + // The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + ServiceBusTopics RoutingServiceBusTopicEndpointPropertiesResponseArrayInput `pulumi:"serviceBusTopics"` + // The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + StorageContainers RoutingStorageContainerPropertiesResponseArrayInput `pulumi:"storageContainers"` +} + +func (RoutingEndpointsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEndpointsResponse)(nil)).Elem() +} + +func (i RoutingEndpointsResponseArgs) ToRoutingEndpointsResponseOutput() RoutingEndpointsResponseOutput { + return i.ToRoutingEndpointsResponseOutputWithContext(context.Background()) +} + +func (i RoutingEndpointsResponseArgs) ToRoutingEndpointsResponseOutputWithContext(ctx context.Context) RoutingEndpointsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsResponseOutput) +} + +func (i RoutingEndpointsResponseArgs) ToRoutingEndpointsResponsePtrOutput() RoutingEndpointsResponsePtrOutput { + return i.ToRoutingEndpointsResponsePtrOutputWithContext(context.Background()) +} + +func (i RoutingEndpointsResponseArgs) ToRoutingEndpointsResponsePtrOutputWithContext(ctx context.Context) RoutingEndpointsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsResponseOutput).ToRoutingEndpointsResponsePtrOutputWithContext(ctx) +} + +// RoutingEndpointsResponsePtrInput is an input type that accepts RoutingEndpointsResponseArgs, RoutingEndpointsResponsePtr and RoutingEndpointsResponsePtrOutput values. +// You can construct a concrete instance of `RoutingEndpointsResponsePtrInput` via: +// +// RoutingEndpointsResponseArgs{...} +// +// or: +// +// nil +type RoutingEndpointsResponsePtrInput interface { + pulumi.Input + + ToRoutingEndpointsResponsePtrOutput() RoutingEndpointsResponsePtrOutput + ToRoutingEndpointsResponsePtrOutputWithContext(context.Context) RoutingEndpointsResponsePtrOutput +} + +type routingEndpointsResponsePtrType RoutingEndpointsResponseArgs + +func RoutingEndpointsResponsePtr(v *RoutingEndpointsResponseArgs) RoutingEndpointsResponsePtrInput { + return (*routingEndpointsResponsePtrType)(v) +} + +func (*routingEndpointsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingEndpointsResponse)(nil)).Elem() +} + +func (i *routingEndpointsResponsePtrType) ToRoutingEndpointsResponsePtrOutput() RoutingEndpointsResponsePtrOutput { + return i.ToRoutingEndpointsResponsePtrOutputWithContext(context.Background()) +} + +func (i *routingEndpointsResponsePtrType) ToRoutingEndpointsResponsePtrOutputWithContext(ctx context.Context) RoutingEndpointsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEndpointsResponsePtrOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +type RoutingEndpointsResponseOutput struct{ *pulumi.OutputState } + +func (RoutingEndpointsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEndpointsResponse)(nil)).Elem() +} + +func (o RoutingEndpointsResponseOutput) ToRoutingEndpointsResponseOutput() RoutingEndpointsResponseOutput { + return o +} + +func (o RoutingEndpointsResponseOutput) ToRoutingEndpointsResponseOutputWithContext(ctx context.Context) RoutingEndpointsResponseOutput { + return o +} + +func (o RoutingEndpointsResponseOutput) ToRoutingEndpointsResponsePtrOutput() RoutingEndpointsResponsePtrOutput { + return o.ToRoutingEndpointsResponsePtrOutputWithContext(context.Background()) +} + +func (o RoutingEndpointsResponseOutput) ToRoutingEndpointsResponsePtrOutputWithContext(ctx context.Context) RoutingEndpointsResponsePtrOutput { + return o.ApplyT(func(v RoutingEndpointsResponse) *RoutingEndpointsResponse { + return &v + }).(RoutingEndpointsResponsePtrOutput) +} + +// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. +func (o RoutingEndpointsResponseOutput) EventHubs() RoutingEventHubPropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingEndpointsResponse) []RoutingEventHubPropertiesResponse { return v.EventHubs }).(RoutingEventHubPropertiesResponseArrayOutput) +} + +// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsResponseOutput) ServiceBusQueues() RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingEndpointsResponse) []RoutingServiceBusQueueEndpointPropertiesResponse { + return v.ServiceBusQueues + }).(RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) +} + +// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsResponseOutput) ServiceBusTopics() RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingEndpointsResponse) []RoutingServiceBusTopicEndpointPropertiesResponse { + return v.ServiceBusTopics + }).(RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) +} + +// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. +func (o RoutingEndpointsResponseOutput) StorageContainers() RoutingStorageContainerPropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingEndpointsResponse) []RoutingStorageContainerPropertiesResponse { + return v.StorageContainers + }).(RoutingStorageContainerPropertiesResponseArrayOutput) +} + +type RoutingEndpointsResponsePtrOutput struct{ *pulumi.OutputState } + +func (RoutingEndpointsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingEndpointsResponse)(nil)).Elem() +} + +func (o RoutingEndpointsResponsePtrOutput) ToRoutingEndpointsResponsePtrOutput() RoutingEndpointsResponsePtrOutput { + return o +} + +func (o RoutingEndpointsResponsePtrOutput) ToRoutingEndpointsResponsePtrOutputWithContext(ctx context.Context) RoutingEndpointsResponsePtrOutput { + return o +} + +func (o RoutingEndpointsResponsePtrOutput) Elem() RoutingEndpointsResponseOutput { + return o.ApplyT(func(v *RoutingEndpointsResponse) RoutingEndpointsResponse { return *v }).(RoutingEndpointsResponseOutput) +} + +// The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. +func (o RoutingEndpointsResponsePtrOutput) EventHubs() RoutingEventHubPropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingEndpointsResponse) []RoutingEventHubPropertiesResponse { + if v == nil { + return nil + } + return v.EventHubs + }).(RoutingEventHubPropertiesResponseArrayOutput) +} + +// The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsResponsePtrOutput) ServiceBusQueues() RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingEndpointsResponse) []RoutingServiceBusQueueEndpointPropertiesResponse { + if v == nil { + return nil + } + return v.ServiceBusQueues + }).(RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) +} + +// The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. +func (o RoutingEndpointsResponsePtrOutput) ServiceBusTopics() RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingEndpointsResponse) []RoutingServiceBusTopicEndpointPropertiesResponse { + if v == nil { + return nil + } + return v.ServiceBusTopics + }).(RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) +} + +// The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. +func (o RoutingEndpointsResponsePtrOutput) StorageContainers() RoutingStorageContainerPropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingEndpointsResponse) []RoutingStorageContainerPropertiesResponse { + if v == nil { + return nil + } + return v.StorageContainers + }).(RoutingStorageContainerPropertiesResponseArrayOutput) +} + +// The properties related to an event hub endpoint. +type RoutingEventHubProperties struct { + // Method used to authenticate against the event hub endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the event hub endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the event hub endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Event hub name on the event hub namespace + EntityPath *string `pulumi:"entityPath"` + // Id of the event hub endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name string `pulumi:"name"` + // The name of the resource group of the event hub endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the event hub endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingEventHubPropertiesInput is an input type that accepts RoutingEventHubPropertiesArgs and RoutingEventHubPropertiesOutput values. +// You can construct a concrete instance of `RoutingEventHubPropertiesInput` via: +// +// RoutingEventHubPropertiesArgs{...} +type RoutingEventHubPropertiesInput interface { + pulumi.Input + + ToRoutingEventHubPropertiesOutput() RoutingEventHubPropertiesOutput + ToRoutingEventHubPropertiesOutputWithContext(context.Context) RoutingEventHubPropertiesOutput +} + +// The properties related to an event hub endpoint. +type RoutingEventHubPropertiesArgs struct { + // Method used to authenticate against the event hub endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the event hub endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the event hub endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Event hub name on the event hub namespace + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the event hub endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the event hub endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the event hub endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingEventHubPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEventHubProperties)(nil)).Elem() +} + +func (i RoutingEventHubPropertiesArgs) ToRoutingEventHubPropertiesOutput() RoutingEventHubPropertiesOutput { + return i.ToRoutingEventHubPropertiesOutputWithContext(context.Background()) +} + +func (i RoutingEventHubPropertiesArgs) ToRoutingEventHubPropertiesOutputWithContext(ctx context.Context) RoutingEventHubPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEventHubPropertiesOutput) +} + +// RoutingEventHubPropertiesArrayInput is an input type that accepts RoutingEventHubPropertiesArray and RoutingEventHubPropertiesArrayOutput values. +// You can construct a concrete instance of `RoutingEventHubPropertiesArrayInput` via: +// +// RoutingEventHubPropertiesArray{ RoutingEventHubPropertiesArgs{...} } +type RoutingEventHubPropertiesArrayInput interface { + pulumi.Input + + ToRoutingEventHubPropertiesArrayOutput() RoutingEventHubPropertiesArrayOutput + ToRoutingEventHubPropertiesArrayOutputWithContext(context.Context) RoutingEventHubPropertiesArrayOutput +} + +type RoutingEventHubPropertiesArray []RoutingEventHubPropertiesInput + +func (RoutingEventHubPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingEventHubProperties)(nil)).Elem() +} + +func (i RoutingEventHubPropertiesArray) ToRoutingEventHubPropertiesArrayOutput() RoutingEventHubPropertiesArrayOutput { + return i.ToRoutingEventHubPropertiesArrayOutputWithContext(context.Background()) +} + +func (i RoutingEventHubPropertiesArray) ToRoutingEventHubPropertiesArrayOutputWithContext(ctx context.Context) RoutingEventHubPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEventHubPropertiesArrayOutput) +} + +// The properties related to an event hub endpoint. +type RoutingEventHubPropertiesOutput struct{ *pulumi.OutputState } + +func (RoutingEventHubPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEventHubProperties)(nil)).Elem() +} + +func (o RoutingEventHubPropertiesOutput) ToRoutingEventHubPropertiesOutput() RoutingEventHubPropertiesOutput { + return o +} + +func (o RoutingEventHubPropertiesOutput) ToRoutingEventHubPropertiesOutputWithContext(ctx context.Context) RoutingEventHubPropertiesOutput { + return o +} + +// Method used to authenticate against the event hub endpoint +func (o RoutingEventHubPropertiesOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the event hub endpoint. +func (o RoutingEventHubPropertiesOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the event hub endpoint. It must include the protocol sb:// +func (o RoutingEventHubPropertiesOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Event hub name on the event hub namespace +func (o RoutingEventHubPropertiesOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the event hub endpoint +func (o RoutingEventHubPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. +func (o RoutingEventHubPropertiesOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingEventHubProperties) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the event hub endpoint. +func (o RoutingEventHubPropertiesOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the event hub endpoint. +func (o RoutingEventHubPropertiesOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubProperties) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingEventHubPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (RoutingEventHubPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingEventHubProperties)(nil)).Elem() +} + +func (o RoutingEventHubPropertiesArrayOutput) ToRoutingEventHubPropertiesArrayOutput() RoutingEventHubPropertiesArrayOutput { + return o +} + +func (o RoutingEventHubPropertiesArrayOutput) ToRoutingEventHubPropertiesArrayOutputWithContext(ctx context.Context) RoutingEventHubPropertiesArrayOutput { + return o +} + +func (o RoutingEventHubPropertiesArrayOutput) Index(i pulumi.IntInput) RoutingEventHubPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingEventHubProperties { + return vs[0].([]RoutingEventHubProperties)[vs[1].(int)] + }).(RoutingEventHubPropertiesOutput) +} + +// The properties related to an event hub endpoint. +type RoutingEventHubPropertiesResponse struct { + // Method used to authenticate against the event hub endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the event hub endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the event hub endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Event hub name on the event hub namespace + EntityPath *string `pulumi:"entityPath"` + // Id of the event hub endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name string `pulumi:"name"` + // The name of the resource group of the event hub endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the event hub endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingEventHubPropertiesResponseInput is an input type that accepts RoutingEventHubPropertiesResponseArgs and RoutingEventHubPropertiesResponseOutput values. +// You can construct a concrete instance of `RoutingEventHubPropertiesResponseInput` via: +// +// RoutingEventHubPropertiesResponseArgs{...} +type RoutingEventHubPropertiesResponseInput interface { + pulumi.Input + + ToRoutingEventHubPropertiesResponseOutput() RoutingEventHubPropertiesResponseOutput + ToRoutingEventHubPropertiesResponseOutputWithContext(context.Context) RoutingEventHubPropertiesResponseOutput +} + +// The properties related to an event hub endpoint. +type RoutingEventHubPropertiesResponseArgs struct { + // Method used to authenticate against the event hub endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the event hub endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the event hub endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Event hub name on the event hub namespace + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the event hub endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the event hub endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the event hub endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingEventHubPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEventHubPropertiesResponse)(nil)).Elem() +} + +func (i RoutingEventHubPropertiesResponseArgs) ToRoutingEventHubPropertiesResponseOutput() RoutingEventHubPropertiesResponseOutput { + return i.ToRoutingEventHubPropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutingEventHubPropertiesResponseArgs) ToRoutingEventHubPropertiesResponseOutputWithContext(ctx context.Context) RoutingEventHubPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEventHubPropertiesResponseOutput) +} + +// RoutingEventHubPropertiesResponseArrayInput is an input type that accepts RoutingEventHubPropertiesResponseArray and RoutingEventHubPropertiesResponseArrayOutput values. +// You can construct a concrete instance of `RoutingEventHubPropertiesResponseArrayInput` via: +// +// RoutingEventHubPropertiesResponseArray{ RoutingEventHubPropertiesResponseArgs{...} } +type RoutingEventHubPropertiesResponseArrayInput interface { + pulumi.Input + + ToRoutingEventHubPropertiesResponseArrayOutput() RoutingEventHubPropertiesResponseArrayOutput + ToRoutingEventHubPropertiesResponseArrayOutputWithContext(context.Context) RoutingEventHubPropertiesResponseArrayOutput +} + +type RoutingEventHubPropertiesResponseArray []RoutingEventHubPropertiesResponseInput + +func (RoutingEventHubPropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingEventHubPropertiesResponse)(nil)).Elem() +} + +func (i RoutingEventHubPropertiesResponseArray) ToRoutingEventHubPropertiesResponseArrayOutput() RoutingEventHubPropertiesResponseArrayOutput { + return i.ToRoutingEventHubPropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i RoutingEventHubPropertiesResponseArray) ToRoutingEventHubPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingEventHubPropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingEventHubPropertiesResponseArrayOutput) +} + +// The properties related to an event hub endpoint. +type RoutingEventHubPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutingEventHubPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingEventHubPropertiesResponse)(nil)).Elem() +} + +func (o RoutingEventHubPropertiesResponseOutput) ToRoutingEventHubPropertiesResponseOutput() RoutingEventHubPropertiesResponseOutput { + return o +} + +func (o RoutingEventHubPropertiesResponseOutput) ToRoutingEventHubPropertiesResponseOutputWithContext(ctx context.Context) RoutingEventHubPropertiesResponseOutput { + return o +} + +// Method used to authenticate against the event hub endpoint +func (o RoutingEventHubPropertiesResponseOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the event hub endpoint. +func (o RoutingEventHubPropertiesResponseOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the event hub endpoint. It must include the protocol sb:// +func (o RoutingEventHubPropertiesResponseOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Event hub name on the event hub namespace +func (o RoutingEventHubPropertiesResponseOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the event hub endpoint +func (o RoutingEventHubPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. +func (o RoutingEventHubPropertiesResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the event hub endpoint. +func (o RoutingEventHubPropertiesResponseOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the event hub endpoint. +func (o RoutingEventHubPropertiesResponseOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingEventHubPropertiesResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingEventHubPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (RoutingEventHubPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingEventHubPropertiesResponse)(nil)).Elem() +} + +func (o RoutingEventHubPropertiesResponseArrayOutput) ToRoutingEventHubPropertiesResponseArrayOutput() RoutingEventHubPropertiesResponseArrayOutput { + return o +} + +func (o RoutingEventHubPropertiesResponseArrayOutput) ToRoutingEventHubPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingEventHubPropertiesResponseArrayOutput { + return o +} + +func (o RoutingEventHubPropertiesResponseArrayOutput) Index(i pulumi.IntInput) RoutingEventHubPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingEventHubPropertiesResponse { + return vs[0].([]RoutingEventHubPropertiesResponse)[vs[1].(int)] + }).(RoutingEventHubPropertiesResponseOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingProperties struct { + // The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + Endpoints *RoutingEndpoints `pulumi:"endpoints"` + // The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + Enrichments []EnrichmentProperties `pulumi:"enrichments"` + // The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + FallbackRoute *FallbackRouteProperties `pulumi:"fallbackRoute"` + // The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + Routes []RouteProperties `pulumi:"routes"` +} + +// RoutingPropertiesInput is an input type that accepts RoutingPropertiesArgs and RoutingPropertiesOutput values. +// You can construct a concrete instance of `RoutingPropertiesInput` via: +// +// RoutingPropertiesArgs{...} +type RoutingPropertiesInput interface { + pulumi.Input + + ToRoutingPropertiesOutput() RoutingPropertiesOutput + ToRoutingPropertiesOutputWithContext(context.Context) RoutingPropertiesOutput +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingPropertiesArgs struct { + // The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + Endpoints RoutingEndpointsPtrInput `pulumi:"endpoints"` + // The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + Enrichments EnrichmentPropertiesArrayInput `pulumi:"enrichments"` + // The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + FallbackRoute FallbackRoutePropertiesPtrInput `pulumi:"fallbackRoute"` + // The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + Routes RoutePropertiesArrayInput `pulumi:"routes"` +} + +func (RoutingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProperties)(nil)).Elem() +} + +func (i RoutingPropertiesArgs) ToRoutingPropertiesOutput() RoutingPropertiesOutput { + return i.ToRoutingPropertiesOutputWithContext(context.Background()) +} + +func (i RoutingPropertiesArgs) ToRoutingPropertiesOutputWithContext(ctx context.Context) RoutingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesOutput) +} + +func (i RoutingPropertiesArgs) ToRoutingPropertiesPtrOutput() RoutingPropertiesPtrOutput { + return i.ToRoutingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i RoutingPropertiesArgs) ToRoutingPropertiesPtrOutputWithContext(ctx context.Context) RoutingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesOutput).ToRoutingPropertiesPtrOutputWithContext(ctx) +} + +// RoutingPropertiesPtrInput is an input type that accepts RoutingPropertiesArgs, RoutingPropertiesPtr and RoutingPropertiesPtrOutput values. +// You can construct a concrete instance of `RoutingPropertiesPtrInput` via: +// +// RoutingPropertiesArgs{...} +// +// or: +// +// nil +type RoutingPropertiesPtrInput interface { + pulumi.Input + + ToRoutingPropertiesPtrOutput() RoutingPropertiesPtrOutput + ToRoutingPropertiesPtrOutputWithContext(context.Context) RoutingPropertiesPtrOutput +} + +type routingPropertiesPtrType RoutingPropertiesArgs + +func RoutingPropertiesPtr(v *RoutingPropertiesArgs) RoutingPropertiesPtrInput { + return (*routingPropertiesPtrType)(v) +} + +func (*routingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProperties)(nil)).Elem() +} + +func (i *routingPropertiesPtrType) ToRoutingPropertiesPtrOutput() RoutingPropertiesPtrOutput { + return i.ToRoutingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *routingPropertiesPtrType) ToRoutingPropertiesPtrOutputWithContext(ctx context.Context) RoutingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesPtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingPropertiesOutput struct{ *pulumi.OutputState } + +func (RoutingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProperties)(nil)).Elem() +} + +func (o RoutingPropertiesOutput) ToRoutingPropertiesOutput() RoutingPropertiesOutput { + return o +} + +func (o RoutingPropertiesOutput) ToRoutingPropertiesOutputWithContext(ctx context.Context) RoutingPropertiesOutput { + return o +} + +func (o RoutingPropertiesOutput) ToRoutingPropertiesPtrOutput() RoutingPropertiesPtrOutput { + return o.ToRoutingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o RoutingPropertiesOutput) ToRoutingPropertiesPtrOutputWithContext(ctx context.Context) RoutingPropertiesPtrOutput { + return o.ApplyT(func(v RoutingProperties) *RoutingProperties { + return &v + }).(RoutingPropertiesPtrOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +func (o RoutingPropertiesOutput) Endpoints() RoutingEndpointsPtrOutput { + return o.ApplyT(func(v RoutingProperties) *RoutingEndpoints { return v.Endpoints }).(RoutingEndpointsPtrOutput) +} + +// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid +func (o RoutingPropertiesOutput) Enrichments() EnrichmentPropertiesArrayOutput { + return o.ApplyT(func(v RoutingProperties) []EnrichmentProperties { return v.Enrichments }).(EnrichmentPropertiesArrayOutput) +} + +// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. +func (o RoutingPropertiesOutput) FallbackRoute() FallbackRoutePropertiesPtrOutput { + return o.ApplyT(func(v RoutingProperties) *FallbackRouteProperties { return v.FallbackRoute }).(FallbackRoutePropertiesPtrOutput) +} + +// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. +func (o RoutingPropertiesOutput) Routes() RoutePropertiesArrayOutput { + return o.ApplyT(func(v RoutingProperties) []RouteProperties { return v.Routes }).(RoutePropertiesArrayOutput) +} + +type RoutingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (RoutingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProperties)(nil)).Elem() +} + +func (o RoutingPropertiesPtrOutput) ToRoutingPropertiesPtrOutput() RoutingPropertiesPtrOutput { + return o +} + +func (o RoutingPropertiesPtrOutput) ToRoutingPropertiesPtrOutputWithContext(ctx context.Context) RoutingPropertiesPtrOutput { + return o +} + +func (o RoutingPropertiesPtrOutput) Elem() RoutingPropertiesOutput { + return o.ApplyT(func(v *RoutingProperties) RoutingProperties { return *v }).(RoutingPropertiesOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +func (o RoutingPropertiesPtrOutput) Endpoints() RoutingEndpointsPtrOutput { + return o.ApplyT(func(v *RoutingProperties) *RoutingEndpoints { + if v == nil { + return nil + } + return v.Endpoints + }).(RoutingEndpointsPtrOutput) +} + +// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid +func (o RoutingPropertiesPtrOutput) Enrichments() EnrichmentPropertiesArrayOutput { + return o.ApplyT(func(v *RoutingProperties) []EnrichmentProperties { + if v == nil { + return nil + } + return v.Enrichments + }).(EnrichmentPropertiesArrayOutput) +} + +// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. +func (o RoutingPropertiesPtrOutput) FallbackRoute() FallbackRoutePropertiesPtrOutput { + return o.ApplyT(func(v *RoutingProperties) *FallbackRouteProperties { + if v == nil { + return nil + } + return v.FallbackRoute + }).(FallbackRoutePropertiesPtrOutput) +} + +// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. +func (o RoutingPropertiesPtrOutput) Routes() RoutePropertiesArrayOutput { + return o.ApplyT(func(v *RoutingProperties) []RouteProperties { + if v == nil { + return nil + } + return v.Routes + }).(RoutePropertiesArrayOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingPropertiesResponse struct { + // The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + Endpoints *RoutingEndpointsResponse `pulumi:"endpoints"` + // The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + Enrichments []EnrichmentPropertiesResponse `pulumi:"enrichments"` + // The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + FallbackRoute *FallbackRoutePropertiesResponse `pulumi:"fallbackRoute"` + // The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + Routes []RoutePropertiesResponse `pulumi:"routes"` +} + +// RoutingPropertiesResponseInput is an input type that accepts RoutingPropertiesResponseArgs and RoutingPropertiesResponseOutput values. +// You can construct a concrete instance of `RoutingPropertiesResponseInput` via: +// +// RoutingPropertiesResponseArgs{...} +type RoutingPropertiesResponseInput interface { + pulumi.Input + + ToRoutingPropertiesResponseOutput() RoutingPropertiesResponseOutput + ToRoutingPropertiesResponseOutputWithContext(context.Context) RoutingPropertiesResponseOutput +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingPropertiesResponseArgs struct { + // The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + Endpoints RoutingEndpointsResponsePtrInput `pulumi:"endpoints"` + // The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + Enrichments EnrichmentPropertiesResponseArrayInput `pulumi:"enrichments"` + // The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + FallbackRoute FallbackRoutePropertiesResponsePtrInput `pulumi:"fallbackRoute"` + // The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + Routes RoutePropertiesResponseArrayInput `pulumi:"routes"` +} + +func (RoutingPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingPropertiesResponse)(nil)).Elem() +} + +func (i RoutingPropertiesResponseArgs) ToRoutingPropertiesResponseOutput() RoutingPropertiesResponseOutput { + return i.ToRoutingPropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutingPropertiesResponseArgs) ToRoutingPropertiesResponseOutputWithContext(ctx context.Context) RoutingPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesResponseOutput) +} + +func (i RoutingPropertiesResponseArgs) ToRoutingPropertiesResponsePtrOutput() RoutingPropertiesResponsePtrOutput { + return i.ToRoutingPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i RoutingPropertiesResponseArgs) ToRoutingPropertiesResponsePtrOutputWithContext(ctx context.Context) RoutingPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesResponseOutput).ToRoutingPropertiesResponsePtrOutputWithContext(ctx) +} + +// RoutingPropertiesResponsePtrInput is an input type that accepts RoutingPropertiesResponseArgs, RoutingPropertiesResponsePtr and RoutingPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `RoutingPropertiesResponsePtrInput` via: +// +// RoutingPropertiesResponseArgs{...} +// +// or: +// +// nil +type RoutingPropertiesResponsePtrInput interface { + pulumi.Input + + ToRoutingPropertiesResponsePtrOutput() RoutingPropertiesResponsePtrOutput + ToRoutingPropertiesResponsePtrOutputWithContext(context.Context) RoutingPropertiesResponsePtrOutput +} + +type routingPropertiesResponsePtrType RoutingPropertiesResponseArgs + +func RoutingPropertiesResponsePtr(v *RoutingPropertiesResponseArgs) RoutingPropertiesResponsePtrInput { + return (*routingPropertiesResponsePtrType)(v) +} + +func (*routingPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingPropertiesResponse)(nil)).Elem() +} + +func (i *routingPropertiesResponsePtrType) ToRoutingPropertiesResponsePtrOutput() RoutingPropertiesResponsePtrOutput { + return i.ToRoutingPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *routingPropertiesResponsePtrType) ToRoutingPropertiesResponsePtrOutputWithContext(ctx context.Context) RoutingPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingPropertiesResponsePtrOutput) +} + +// The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging +type RoutingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingPropertiesResponse)(nil)).Elem() +} + +func (o RoutingPropertiesResponseOutput) ToRoutingPropertiesResponseOutput() RoutingPropertiesResponseOutput { + return o +} + +func (o RoutingPropertiesResponseOutput) ToRoutingPropertiesResponseOutputWithContext(ctx context.Context) RoutingPropertiesResponseOutput { + return o +} + +func (o RoutingPropertiesResponseOutput) ToRoutingPropertiesResponsePtrOutput() RoutingPropertiesResponsePtrOutput { + return o.ToRoutingPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o RoutingPropertiesResponseOutput) ToRoutingPropertiesResponsePtrOutputWithContext(ctx context.Context) RoutingPropertiesResponsePtrOutput { + return o.ApplyT(func(v RoutingPropertiesResponse) *RoutingPropertiesResponse { + return &v + }).(RoutingPropertiesResponsePtrOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +func (o RoutingPropertiesResponseOutput) Endpoints() RoutingEndpointsResponsePtrOutput { + return o.ApplyT(func(v RoutingPropertiesResponse) *RoutingEndpointsResponse { return v.Endpoints }).(RoutingEndpointsResponsePtrOutput) +} + +// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid +func (o RoutingPropertiesResponseOutput) Enrichments() EnrichmentPropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingPropertiesResponse) []EnrichmentPropertiesResponse { return v.Enrichments }).(EnrichmentPropertiesResponseArrayOutput) +} + +// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. +func (o RoutingPropertiesResponseOutput) FallbackRoute() FallbackRoutePropertiesResponsePtrOutput { + return o.ApplyT(func(v RoutingPropertiesResponse) *FallbackRoutePropertiesResponse { return v.FallbackRoute }).(FallbackRoutePropertiesResponsePtrOutput) +} + +// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. +func (o RoutingPropertiesResponseOutput) Routes() RoutePropertiesResponseArrayOutput { + return o.ApplyT(func(v RoutingPropertiesResponse) []RoutePropertiesResponse { return v.Routes }).(RoutePropertiesResponseArrayOutput) +} + +type RoutingPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (RoutingPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingPropertiesResponse)(nil)).Elem() +} + +func (o RoutingPropertiesResponsePtrOutput) ToRoutingPropertiesResponsePtrOutput() RoutingPropertiesResponsePtrOutput { + return o +} + +func (o RoutingPropertiesResponsePtrOutput) ToRoutingPropertiesResponsePtrOutputWithContext(ctx context.Context) RoutingPropertiesResponsePtrOutput { + return o +} + +func (o RoutingPropertiesResponsePtrOutput) Elem() RoutingPropertiesResponseOutput { + return o.ApplyT(func(v *RoutingPropertiesResponse) RoutingPropertiesResponse { return *v }).(RoutingPropertiesResponseOutput) +} + +// The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. +func (o RoutingPropertiesResponsePtrOutput) Endpoints() RoutingEndpointsResponsePtrOutput { + return o.ApplyT(func(v *RoutingPropertiesResponse) *RoutingEndpointsResponse { + if v == nil { + return nil + } + return v.Endpoints + }).(RoutingEndpointsResponsePtrOutput) +} + +// The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid +func (o RoutingPropertiesResponsePtrOutput) Enrichments() EnrichmentPropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingPropertiesResponse) []EnrichmentPropertiesResponse { + if v == nil { + return nil + } + return v.Enrichments + }).(EnrichmentPropertiesResponseArrayOutput) +} + +// The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. +func (o RoutingPropertiesResponsePtrOutput) FallbackRoute() FallbackRoutePropertiesResponsePtrOutput { + return o.ApplyT(func(v *RoutingPropertiesResponse) *FallbackRoutePropertiesResponse { + if v == nil { + return nil + } + return v.FallbackRoute + }).(FallbackRoutePropertiesResponsePtrOutput) +} + +// The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. +func (o RoutingPropertiesResponsePtrOutput) Routes() RoutePropertiesResponseArrayOutput { + return o.ApplyT(func(v *RoutingPropertiesResponse) []RoutePropertiesResponse { + if v == nil { + return nil + } + return v.Routes + }).(RoutePropertiesResponseArrayOutput) +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointProperties struct { + // Method used to authenticate against the service bus queue endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the service bus queue endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the service bus queue endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Queue name on the service bus namespace + EntityPath *string `pulumi:"entityPath"` + // Id of the service bus queue endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + Name string `pulumi:"name"` + // The name of the resource group of the service bus queue endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the service bus queue endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingServiceBusQueueEndpointPropertiesInput is an input type that accepts RoutingServiceBusQueueEndpointPropertiesArgs and RoutingServiceBusQueueEndpointPropertiesOutput values. +// You can construct a concrete instance of `RoutingServiceBusQueueEndpointPropertiesInput` via: +// +// RoutingServiceBusQueueEndpointPropertiesArgs{...} +type RoutingServiceBusQueueEndpointPropertiesInput interface { + pulumi.Input + + ToRoutingServiceBusQueueEndpointPropertiesOutput() RoutingServiceBusQueueEndpointPropertiesOutput + ToRoutingServiceBusQueueEndpointPropertiesOutputWithContext(context.Context) RoutingServiceBusQueueEndpointPropertiesOutput +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointPropertiesArgs struct { + // Method used to authenticate against the service bus queue endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the service bus queue endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the service bus queue endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Queue name on the service bus namespace + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the service bus queue endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the service bus queue endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the service bus queue endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingServiceBusQueueEndpointPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusQueueEndpointProperties)(nil)).Elem() +} + +func (i RoutingServiceBusQueueEndpointPropertiesArgs) ToRoutingServiceBusQueueEndpointPropertiesOutput() RoutingServiceBusQueueEndpointPropertiesOutput { + return i.ToRoutingServiceBusQueueEndpointPropertiesOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusQueueEndpointPropertiesArgs) ToRoutingServiceBusQueueEndpointPropertiesOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusQueueEndpointPropertiesOutput) +} + +// RoutingServiceBusQueueEndpointPropertiesArrayInput is an input type that accepts RoutingServiceBusQueueEndpointPropertiesArray and RoutingServiceBusQueueEndpointPropertiesArrayOutput values. +// You can construct a concrete instance of `RoutingServiceBusQueueEndpointPropertiesArrayInput` via: +// +// RoutingServiceBusQueueEndpointPropertiesArray{ RoutingServiceBusQueueEndpointPropertiesArgs{...} } +type RoutingServiceBusQueueEndpointPropertiesArrayInput interface { + pulumi.Input + + ToRoutingServiceBusQueueEndpointPropertiesArrayOutput() RoutingServiceBusQueueEndpointPropertiesArrayOutput + ToRoutingServiceBusQueueEndpointPropertiesArrayOutputWithContext(context.Context) RoutingServiceBusQueueEndpointPropertiesArrayOutput +} + +type RoutingServiceBusQueueEndpointPropertiesArray []RoutingServiceBusQueueEndpointPropertiesInput + +func (RoutingServiceBusQueueEndpointPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusQueueEndpointProperties)(nil)).Elem() +} + +func (i RoutingServiceBusQueueEndpointPropertiesArray) ToRoutingServiceBusQueueEndpointPropertiesArrayOutput() RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return i.ToRoutingServiceBusQueueEndpointPropertiesArrayOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusQueueEndpointPropertiesArray) ToRoutingServiceBusQueueEndpointPropertiesArrayOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusQueueEndpointPropertiesArrayOutput) +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointPropertiesOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusQueueEndpointPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusQueueEndpointProperties)(nil)).Elem() +} + +func (o RoutingServiceBusQueueEndpointPropertiesOutput) ToRoutingServiceBusQueueEndpointPropertiesOutput() RoutingServiceBusQueueEndpointPropertiesOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesOutput) ToRoutingServiceBusQueueEndpointPropertiesOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesOutput { + return o +} + +// Method used to authenticate against the service bus queue endpoint +func (o RoutingServiceBusQueueEndpointPropertiesOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the service bus queue endpoint. It must include the protocol sb:// +func (o RoutingServiceBusQueueEndpointPropertiesOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Queue name on the service bus namespace +func (o RoutingServiceBusQueueEndpointPropertiesOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the service bus queue endpoint +func (o RoutingServiceBusQueueEndpointPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. +func (o RoutingServiceBusQueueEndpointPropertiesOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointProperties) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingServiceBusQueueEndpointPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusQueueEndpointPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusQueueEndpointProperties)(nil)).Elem() +} + +func (o RoutingServiceBusQueueEndpointPropertiesArrayOutput) ToRoutingServiceBusQueueEndpointPropertiesArrayOutput() RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesArrayOutput) ToRoutingServiceBusQueueEndpointPropertiesArrayOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesArrayOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesArrayOutput) Index(i pulumi.IntInput) RoutingServiceBusQueueEndpointPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingServiceBusQueueEndpointProperties { + return vs[0].([]RoutingServiceBusQueueEndpointProperties)[vs[1].(int)] + }).(RoutingServiceBusQueueEndpointPropertiesOutput) +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointPropertiesResponse struct { + // Method used to authenticate against the service bus queue endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the service bus queue endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the service bus queue endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Queue name on the service bus namespace + EntityPath *string `pulumi:"entityPath"` + // Id of the service bus queue endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + Name string `pulumi:"name"` + // The name of the resource group of the service bus queue endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the service bus queue endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingServiceBusQueueEndpointPropertiesResponseInput is an input type that accepts RoutingServiceBusQueueEndpointPropertiesResponseArgs and RoutingServiceBusQueueEndpointPropertiesResponseOutput values. +// You can construct a concrete instance of `RoutingServiceBusQueueEndpointPropertiesResponseInput` via: +// +// RoutingServiceBusQueueEndpointPropertiesResponseArgs{...} +type RoutingServiceBusQueueEndpointPropertiesResponseInput interface { + pulumi.Input + + ToRoutingServiceBusQueueEndpointPropertiesResponseOutput() RoutingServiceBusQueueEndpointPropertiesResponseOutput + ToRoutingServiceBusQueueEndpointPropertiesResponseOutputWithContext(context.Context) RoutingServiceBusQueueEndpointPropertiesResponseOutput +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointPropertiesResponseArgs struct { + // Method used to authenticate against the service bus queue endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the service bus queue endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the service bus queue endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Queue name on the service bus namespace + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the service bus queue endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the service bus queue endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the service bus queue endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingServiceBusQueueEndpointPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusQueueEndpointPropertiesResponse)(nil)).Elem() +} + +func (i RoutingServiceBusQueueEndpointPropertiesResponseArgs) ToRoutingServiceBusQueueEndpointPropertiesResponseOutput() RoutingServiceBusQueueEndpointPropertiesResponseOutput { + return i.ToRoutingServiceBusQueueEndpointPropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusQueueEndpointPropertiesResponseArgs) ToRoutingServiceBusQueueEndpointPropertiesResponseOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusQueueEndpointPropertiesResponseOutput) +} + +// RoutingServiceBusQueueEndpointPropertiesResponseArrayInput is an input type that accepts RoutingServiceBusQueueEndpointPropertiesResponseArray and RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput values. +// You can construct a concrete instance of `RoutingServiceBusQueueEndpointPropertiesResponseArrayInput` via: +// +// RoutingServiceBusQueueEndpointPropertiesResponseArray{ RoutingServiceBusQueueEndpointPropertiesResponseArgs{...} } +type RoutingServiceBusQueueEndpointPropertiesResponseArrayInput interface { + pulumi.Input + + ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutput() RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput + ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutputWithContext(context.Context) RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput +} + +type RoutingServiceBusQueueEndpointPropertiesResponseArray []RoutingServiceBusQueueEndpointPropertiesResponseInput + +func (RoutingServiceBusQueueEndpointPropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusQueueEndpointPropertiesResponse)(nil)).Elem() +} + +func (i RoutingServiceBusQueueEndpointPropertiesResponseArray) ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutput() RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return i.ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusQueueEndpointPropertiesResponseArray) ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) +} + +// The properties related to service bus queue endpoint types. +type RoutingServiceBusQueueEndpointPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusQueueEndpointPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusQueueEndpointPropertiesResponse)(nil)).Elem() +} + +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) ToRoutingServiceBusQueueEndpointPropertiesResponseOutput() RoutingServiceBusQueueEndpointPropertiesResponseOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) ToRoutingServiceBusQueueEndpointPropertiesResponseOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesResponseOutput { + return o +} + +// Method used to authenticate against the service bus queue endpoint +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the service bus queue endpoint. It must include the protocol sb:// +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Queue name on the service bus namespace +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the service bus queue endpoint +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the service bus queue endpoint. +func (o RoutingServiceBusQueueEndpointPropertiesResponseOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusQueueEndpointPropertiesResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusQueueEndpointPropertiesResponse)(nil)).Elem() +} + +func (o RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutput() RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) ToRoutingServiceBusQueueEndpointPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput { + return o +} + +func (o RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput) Index(i pulumi.IntInput) RoutingServiceBusQueueEndpointPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingServiceBusQueueEndpointPropertiesResponse { + return vs[0].([]RoutingServiceBusQueueEndpointPropertiesResponse)[vs[1].(int)] + }).(RoutingServiceBusQueueEndpointPropertiesResponseOutput) +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointProperties struct { + // Method used to authenticate against the service bus topic endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the service bus topic endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the service bus topic endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Queue name on the service bus topic + EntityPath *string `pulumi:"entityPath"` + // Id of the service bus topic endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + Name string `pulumi:"name"` + // The name of the resource group of the service bus topic endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the service bus topic endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingServiceBusTopicEndpointPropertiesInput is an input type that accepts RoutingServiceBusTopicEndpointPropertiesArgs and RoutingServiceBusTopicEndpointPropertiesOutput values. +// You can construct a concrete instance of `RoutingServiceBusTopicEndpointPropertiesInput` via: +// +// RoutingServiceBusTopicEndpointPropertiesArgs{...} +type RoutingServiceBusTopicEndpointPropertiesInput interface { + pulumi.Input + + ToRoutingServiceBusTopicEndpointPropertiesOutput() RoutingServiceBusTopicEndpointPropertiesOutput + ToRoutingServiceBusTopicEndpointPropertiesOutputWithContext(context.Context) RoutingServiceBusTopicEndpointPropertiesOutput +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointPropertiesArgs struct { + // Method used to authenticate against the service bus topic endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the service bus topic endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the service bus topic endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Queue name on the service bus topic + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the service bus topic endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the service bus topic endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the service bus topic endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingServiceBusTopicEndpointPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusTopicEndpointProperties)(nil)).Elem() +} + +func (i RoutingServiceBusTopicEndpointPropertiesArgs) ToRoutingServiceBusTopicEndpointPropertiesOutput() RoutingServiceBusTopicEndpointPropertiesOutput { + return i.ToRoutingServiceBusTopicEndpointPropertiesOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusTopicEndpointPropertiesArgs) ToRoutingServiceBusTopicEndpointPropertiesOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusTopicEndpointPropertiesOutput) +} + +// RoutingServiceBusTopicEndpointPropertiesArrayInput is an input type that accepts RoutingServiceBusTopicEndpointPropertiesArray and RoutingServiceBusTopicEndpointPropertiesArrayOutput values. +// You can construct a concrete instance of `RoutingServiceBusTopicEndpointPropertiesArrayInput` via: +// +// RoutingServiceBusTopicEndpointPropertiesArray{ RoutingServiceBusTopicEndpointPropertiesArgs{...} } +type RoutingServiceBusTopicEndpointPropertiesArrayInput interface { + pulumi.Input + + ToRoutingServiceBusTopicEndpointPropertiesArrayOutput() RoutingServiceBusTopicEndpointPropertiesArrayOutput + ToRoutingServiceBusTopicEndpointPropertiesArrayOutputWithContext(context.Context) RoutingServiceBusTopicEndpointPropertiesArrayOutput +} + +type RoutingServiceBusTopicEndpointPropertiesArray []RoutingServiceBusTopicEndpointPropertiesInput + +func (RoutingServiceBusTopicEndpointPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusTopicEndpointProperties)(nil)).Elem() +} + +func (i RoutingServiceBusTopicEndpointPropertiesArray) ToRoutingServiceBusTopicEndpointPropertiesArrayOutput() RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return i.ToRoutingServiceBusTopicEndpointPropertiesArrayOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusTopicEndpointPropertiesArray) ToRoutingServiceBusTopicEndpointPropertiesArrayOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusTopicEndpointPropertiesArrayOutput) +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointPropertiesOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusTopicEndpointPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusTopicEndpointProperties)(nil)).Elem() +} + +func (o RoutingServiceBusTopicEndpointPropertiesOutput) ToRoutingServiceBusTopicEndpointPropertiesOutput() RoutingServiceBusTopicEndpointPropertiesOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesOutput) ToRoutingServiceBusTopicEndpointPropertiesOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesOutput { + return o +} + +// Method used to authenticate against the service bus topic endpoint +func (o RoutingServiceBusTopicEndpointPropertiesOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the service bus topic endpoint. It must include the protocol sb:// +func (o RoutingServiceBusTopicEndpointPropertiesOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Queue name on the service bus topic +func (o RoutingServiceBusTopicEndpointPropertiesOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the service bus topic endpoint +func (o RoutingServiceBusTopicEndpointPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. +func (o RoutingServiceBusTopicEndpointPropertiesOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointProperties) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingServiceBusTopicEndpointPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusTopicEndpointPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusTopicEndpointProperties)(nil)).Elem() +} + +func (o RoutingServiceBusTopicEndpointPropertiesArrayOutput) ToRoutingServiceBusTopicEndpointPropertiesArrayOutput() RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesArrayOutput) ToRoutingServiceBusTopicEndpointPropertiesArrayOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesArrayOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesArrayOutput) Index(i pulumi.IntInput) RoutingServiceBusTopicEndpointPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingServiceBusTopicEndpointProperties { + return vs[0].([]RoutingServiceBusTopicEndpointProperties)[vs[1].(int)] + }).(RoutingServiceBusTopicEndpointPropertiesOutput) +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointPropertiesResponse struct { + // Method used to authenticate against the service bus topic endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string of the service bus topic endpoint. + ConnectionString *string `pulumi:"connectionString"` + // The url of the service bus topic endpoint. It must include the protocol sb:// + EndpointUri *string `pulumi:"endpointUri"` + // Queue name on the service bus topic + EntityPath *string `pulumi:"entityPath"` + // Id of the service bus topic endpoint + Id *string `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + Name string `pulumi:"name"` + // The name of the resource group of the service bus topic endpoint. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the service bus topic endpoint. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingServiceBusTopicEndpointPropertiesResponseInput is an input type that accepts RoutingServiceBusTopicEndpointPropertiesResponseArgs and RoutingServiceBusTopicEndpointPropertiesResponseOutput values. +// You can construct a concrete instance of `RoutingServiceBusTopicEndpointPropertiesResponseInput` via: +// +// RoutingServiceBusTopicEndpointPropertiesResponseArgs{...} +type RoutingServiceBusTopicEndpointPropertiesResponseInput interface { + pulumi.Input + + ToRoutingServiceBusTopicEndpointPropertiesResponseOutput() RoutingServiceBusTopicEndpointPropertiesResponseOutput + ToRoutingServiceBusTopicEndpointPropertiesResponseOutputWithContext(context.Context) RoutingServiceBusTopicEndpointPropertiesResponseOutput +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointPropertiesResponseArgs struct { + // Method used to authenticate against the service bus topic endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string of the service bus topic endpoint. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The url of the service bus topic endpoint. It must include the protocol sb:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // Queue name on the service bus topic + EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` + // Id of the service bus topic endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the service bus topic endpoint. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the service bus topic endpoint. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingServiceBusTopicEndpointPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusTopicEndpointPropertiesResponse)(nil)).Elem() +} + +func (i RoutingServiceBusTopicEndpointPropertiesResponseArgs) ToRoutingServiceBusTopicEndpointPropertiesResponseOutput() RoutingServiceBusTopicEndpointPropertiesResponseOutput { + return i.ToRoutingServiceBusTopicEndpointPropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusTopicEndpointPropertiesResponseArgs) ToRoutingServiceBusTopicEndpointPropertiesResponseOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusTopicEndpointPropertiesResponseOutput) +} + +// RoutingServiceBusTopicEndpointPropertiesResponseArrayInput is an input type that accepts RoutingServiceBusTopicEndpointPropertiesResponseArray and RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput values. +// You can construct a concrete instance of `RoutingServiceBusTopicEndpointPropertiesResponseArrayInput` via: +// +// RoutingServiceBusTopicEndpointPropertiesResponseArray{ RoutingServiceBusTopicEndpointPropertiesResponseArgs{...} } +type RoutingServiceBusTopicEndpointPropertiesResponseArrayInput interface { + pulumi.Input + + ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutput() RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput + ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutputWithContext(context.Context) RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput +} + +type RoutingServiceBusTopicEndpointPropertiesResponseArray []RoutingServiceBusTopicEndpointPropertiesResponseInput + +func (RoutingServiceBusTopicEndpointPropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusTopicEndpointPropertiesResponse)(nil)).Elem() +} + +func (i RoutingServiceBusTopicEndpointPropertiesResponseArray) ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutput() RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return i.ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i RoutingServiceBusTopicEndpointPropertiesResponseArray) ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) +} + +// The properties related to service bus topic endpoint types. +type RoutingServiceBusTopicEndpointPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusTopicEndpointPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingServiceBusTopicEndpointPropertiesResponse)(nil)).Elem() +} + +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) ToRoutingServiceBusTopicEndpointPropertiesResponseOutput() RoutingServiceBusTopicEndpointPropertiesResponseOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) ToRoutingServiceBusTopicEndpointPropertiesResponseOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesResponseOutput { + return o +} + +// Method used to authenticate against the service bus topic endpoint +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The url of the service bus topic endpoint. It must include the protocol sb:// +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// Queue name on the service bus topic +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) EntityPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.EntityPath }).(pulumi.StringPtrOutput) +} + +// Id of the service bus topic endpoint +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the service bus topic endpoint. +func (o RoutingServiceBusTopicEndpointPropertiesResponseOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingServiceBusTopicEndpointPropertiesResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingServiceBusTopicEndpointPropertiesResponse)(nil)).Elem() +} + +func (o RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutput() RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) ToRoutingServiceBusTopicEndpointPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput { + return o +} + +func (o RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput) Index(i pulumi.IntInput) RoutingServiceBusTopicEndpointPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingServiceBusTopicEndpointPropertiesResponse { + return vs[0].([]RoutingServiceBusTopicEndpointPropertiesResponse)[vs[1].(int)] + }).(RoutingServiceBusTopicEndpointPropertiesResponseOutput) +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerProperties struct { + // Method used to authenticate against the storage endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + BatchFrequencyInSeconds *int `pulumi:"batchFrequencyInSeconds"` + // The connection string of the storage account. + ConnectionString *string `pulumi:"connectionString"` + // The name of storage container in the storage account. + ContainerName string `pulumi:"containerName"` + // Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + Encoding *string `pulumi:"encoding"` + // The url of the storage endpoint. It must include the protocol https:// + EndpointUri *string `pulumi:"endpointUri"` + // File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + FileNameFormat *string `pulumi:"fileNameFormat"` + // Id of the storage container endpoint + Id *string `pulumi:"id"` + // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + MaxChunkSizeInBytes *int `pulumi:"maxChunkSizeInBytes"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name string `pulumi:"name"` + // The name of the resource group of the storage account. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the storage account. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingStorageContainerPropertiesInput is an input type that accepts RoutingStorageContainerPropertiesArgs and RoutingStorageContainerPropertiesOutput values. +// You can construct a concrete instance of `RoutingStorageContainerPropertiesInput` via: +// +// RoutingStorageContainerPropertiesArgs{...} +type RoutingStorageContainerPropertiesInput interface { + pulumi.Input + + ToRoutingStorageContainerPropertiesOutput() RoutingStorageContainerPropertiesOutput + ToRoutingStorageContainerPropertiesOutputWithContext(context.Context) RoutingStorageContainerPropertiesOutput +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerPropertiesArgs struct { + // Method used to authenticate against the storage endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + BatchFrequencyInSeconds pulumi.IntPtrInput `pulumi:"batchFrequencyInSeconds"` + // The connection string of the storage account. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The name of storage container in the storage account. + ContainerName pulumi.StringInput `pulumi:"containerName"` + // Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + Encoding pulumi.StringPtrInput `pulumi:"encoding"` + // The url of the storage endpoint. It must include the protocol https:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + FileNameFormat pulumi.StringPtrInput `pulumi:"fileNameFormat"` + // Id of the storage container endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + MaxChunkSizeInBytes pulumi.IntPtrInput `pulumi:"maxChunkSizeInBytes"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the storage account. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the storage account. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingStorageContainerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingStorageContainerProperties)(nil)).Elem() +} + +func (i RoutingStorageContainerPropertiesArgs) ToRoutingStorageContainerPropertiesOutput() RoutingStorageContainerPropertiesOutput { + return i.ToRoutingStorageContainerPropertiesOutputWithContext(context.Background()) +} + +func (i RoutingStorageContainerPropertiesArgs) ToRoutingStorageContainerPropertiesOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingStorageContainerPropertiesOutput) +} + +// RoutingStorageContainerPropertiesArrayInput is an input type that accepts RoutingStorageContainerPropertiesArray and RoutingStorageContainerPropertiesArrayOutput values. +// You can construct a concrete instance of `RoutingStorageContainerPropertiesArrayInput` via: +// +// RoutingStorageContainerPropertiesArray{ RoutingStorageContainerPropertiesArgs{...} } +type RoutingStorageContainerPropertiesArrayInput interface { + pulumi.Input + + ToRoutingStorageContainerPropertiesArrayOutput() RoutingStorageContainerPropertiesArrayOutput + ToRoutingStorageContainerPropertiesArrayOutputWithContext(context.Context) RoutingStorageContainerPropertiesArrayOutput +} + +type RoutingStorageContainerPropertiesArray []RoutingStorageContainerPropertiesInput + +func (RoutingStorageContainerPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingStorageContainerProperties)(nil)).Elem() +} + +func (i RoutingStorageContainerPropertiesArray) ToRoutingStorageContainerPropertiesArrayOutput() RoutingStorageContainerPropertiesArrayOutput { + return i.ToRoutingStorageContainerPropertiesArrayOutputWithContext(context.Background()) +} + +func (i RoutingStorageContainerPropertiesArray) ToRoutingStorageContainerPropertiesArrayOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingStorageContainerPropertiesArrayOutput) +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerPropertiesOutput struct{ *pulumi.OutputState } + +func (RoutingStorageContainerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingStorageContainerProperties)(nil)).Elem() +} + +func (o RoutingStorageContainerPropertiesOutput) ToRoutingStorageContainerPropertiesOutput() RoutingStorageContainerPropertiesOutput { + return o +} + +func (o RoutingStorageContainerPropertiesOutput) ToRoutingStorageContainerPropertiesOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesOutput { + return o +} + +// Method used to authenticate against the storage endpoint +func (o RoutingStorageContainerPropertiesOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. +func (o RoutingStorageContainerPropertiesOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *int { return v.BatchFrequencyInSeconds }).(pulumi.IntPtrOutput) +} + +// The connection string of the storage account. +func (o RoutingStorageContainerPropertiesOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The name of storage container in the storage account. +func (o RoutingStorageContainerPropertiesOutput) ContainerName() pulumi.StringOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) string { return v.ContainerName }).(pulumi.StringOutput) +} + +// Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. +func (o RoutingStorageContainerPropertiesOutput) Encoding() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.Encoding }).(pulumi.StringPtrOutput) +} + +// The url of the storage endpoint. It must include the protocol https:// +func (o RoutingStorageContainerPropertiesOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. +func (o RoutingStorageContainerPropertiesOutput) FileNameFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.FileNameFormat }).(pulumi.StringPtrOutput) +} + +// Id of the storage container endpoint +func (o RoutingStorageContainerPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). +func (o RoutingStorageContainerPropertiesOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *int { return v.MaxChunkSizeInBytes }).(pulumi.IntPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. +func (o RoutingStorageContainerPropertiesOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the storage account. +func (o RoutingStorageContainerPropertiesOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the storage account. +func (o RoutingStorageContainerPropertiesOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerProperties) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingStorageContainerPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (RoutingStorageContainerPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingStorageContainerProperties)(nil)).Elem() +} + +func (o RoutingStorageContainerPropertiesArrayOutput) ToRoutingStorageContainerPropertiesArrayOutput() RoutingStorageContainerPropertiesArrayOutput { + return o +} + +func (o RoutingStorageContainerPropertiesArrayOutput) ToRoutingStorageContainerPropertiesArrayOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesArrayOutput { + return o +} + +func (o RoutingStorageContainerPropertiesArrayOutput) Index(i pulumi.IntInput) RoutingStorageContainerPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingStorageContainerProperties { + return vs[0].([]RoutingStorageContainerProperties)[vs[1].(int)] + }).(RoutingStorageContainerPropertiesOutput) +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerPropertiesResponse struct { + // Method used to authenticate against the storage endpoint + AuthenticationType *string `pulumi:"authenticationType"` + // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + BatchFrequencyInSeconds *int `pulumi:"batchFrequencyInSeconds"` + // The connection string of the storage account. + ConnectionString *string `pulumi:"connectionString"` + // The name of storage container in the storage account. + ContainerName string `pulumi:"containerName"` + // Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + Encoding *string `pulumi:"encoding"` + // The url of the storage endpoint. It must include the protocol https:// + EndpointUri *string `pulumi:"endpointUri"` + // File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + FileNameFormat *string `pulumi:"fileNameFormat"` + // Id of the storage container endpoint + Id *string `pulumi:"id"` + // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + MaxChunkSizeInBytes *int `pulumi:"maxChunkSizeInBytes"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name string `pulumi:"name"` + // The name of the resource group of the storage account. + ResourceGroup *string `pulumi:"resourceGroup"` + // The subscription identifier of the storage account. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// RoutingStorageContainerPropertiesResponseInput is an input type that accepts RoutingStorageContainerPropertiesResponseArgs and RoutingStorageContainerPropertiesResponseOutput values. +// You can construct a concrete instance of `RoutingStorageContainerPropertiesResponseInput` via: +// +// RoutingStorageContainerPropertiesResponseArgs{...} +type RoutingStorageContainerPropertiesResponseInput interface { + pulumi.Input + + ToRoutingStorageContainerPropertiesResponseOutput() RoutingStorageContainerPropertiesResponseOutput + ToRoutingStorageContainerPropertiesResponseOutputWithContext(context.Context) RoutingStorageContainerPropertiesResponseOutput +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerPropertiesResponseArgs struct { + // Method used to authenticate against the storage endpoint + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + BatchFrequencyInSeconds pulumi.IntPtrInput `pulumi:"batchFrequencyInSeconds"` + // The connection string of the storage account. + ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` + // The name of storage container in the storage account. + ContainerName pulumi.StringInput `pulumi:"containerName"` + // Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + Encoding pulumi.StringPtrInput `pulumi:"encoding"` + // The url of the storage endpoint. It must include the protocol https:// + EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` + // File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + FileNameFormat pulumi.StringPtrInput `pulumi:"fileNameFormat"` + // Id of the storage container endpoint + Id pulumi.StringPtrInput `pulumi:"id"` + // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + MaxChunkSizeInBytes pulumi.IntPtrInput `pulumi:"maxChunkSizeInBytes"` + // The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + Name pulumi.StringInput `pulumi:"name"` + // The name of the resource group of the storage account. + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // The subscription identifier of the storage account. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (RoutingStorageContainerPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingStorageContainerPropertiesResponse)(nil)).Elem() +} + +func (i RoutingStorageContainerPropertiesResponseArgs) ToRoutingStorageContainerPropertiesResponseOutput() RoutingStorageContainerPropertiesResponseOutput { + return i.ToRoutingStorageContainerPropertiesResponseOutputWithContext(context.Background()) +} + +func (i RoutingStorageContainerPropertiesResponseArgs) ToRoutingStorageContainerPropertiesResponseOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingStorageContainerPropertiesResponseOutput) +} + +// RoutingStorageContainerPropertiesResponseArrayInput is an input type that accepts RoutingStorageContainerPropertiesResponseArray and RoutingStorageContainerPropertiesResponseArrayOutput values. +// You can construct a concrete instance of `RoutingStorageContainerPropertiesResponseArrayInput` via: +// +// RoutingStorageContainerPropertiesResponseArray{ RoutingStorageContainerPropertiesResponseArgs{...} } +type RoutingStorageContainerPropertiesResponseArrayInput interface { + pulumi.Input + + ToRoutingStorageContainerPropertiesResponseArrayOutput() RoutingStorageContainerPropertiesResponseArrayOutput + ToRoutingStorageContainerPropertiesResponseArrayOutputWithContext(context.Context) RoutingStorageContainerPropertiesResponseArrayOutput +} + +type RoutingStorageContainerPropertiesResponseArray []RoutingStorageContainerPropertiesResponseInput + +func (RoutingStorageContainerPropertiesResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingStorageContainerPropertiesResponse)(nil)).Elem() +} + +func (i RoutingStorageContainerPropertiesResponseArray) ToRoutingStorageContainerPropertiesResponseArrayOutput() RoutingStorageContainerPropertiesResponseArrayOutput { + return i.ToRoutingStorageContainerPropertiesResponseArrayOutputWithContext(context.Background()) +} + +func (i RoutingStorageContainerPropertiesResponseArray) ToRoutingStorageContainerPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingStorageContainerPropertiesResponseArrayOutput) +} + +// The properties related to a storage container endpoint. +type RoutingStorageContainerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (RoutingStorageContainerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingStorageContainerPropertiesResponse)(nil)).Elem() +} + +func (o RoutingStorageContainerPropertiesResponseOutput) ToRoutingStorageContainerPropertiesResponseOutput() RoutingStorageContainerPropertiesResponseOutput { + return o +} + +func (o RoutingStorageContainerPropertiesResponseOutput) ToRoutingStorageContainerPropertiesResponseOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesResponseOutput { + return o +} + +// Method used to authenticate against the storage endpoint +func (o RoutingStorageContainerPropertiesResponseOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. +func (o RoutingStorageContainerPropertiesResponseOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *int { return v.BatchFrequencyInSeconds }).(pulumi.IntPtrOutput) +} + +// The connection string of the storage account. +func (o RoutingStorageContainerPropertiesResponseOutput) ConnectionString() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) +} + +// The name of storage container in the storage account. +func (o RoutingStorageContainerPropertiesResponseOutput) ContainerName() pulumi.StringOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) string { return v.ContainerName }).(pulumi.StringOutput) +} + +// Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. +func (o RoutingStorageContainerPropertiesResponseOutput) Encoding() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.Encoding }).(pulumi.StringPtrOutput) +} + +// The url of the storage endpoint. It must include the protocol https:// +func (o RoutingStorageContainerPropertiesResponseOutput) EndpointUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.EndpointUri }).(pulumi.StringPtrOutput) +} + +// File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. +func (o RoutingStorageContainerPropertiesResponseOutput) FileNameFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.FileNameFormat }).(pulumi.StringPtrOutput) +} + +// Id of the storage container endpoint +func (o RoutingStorageContainerPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). +func (o RoutingStorageContainerPropertiesResponseOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *int { return v.MaxChunkSizeInBytes }).(pulumi.IntPtrOutput) +} + +// The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. +func (o RoutingStorageContainerPropertiesResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The name of the resource group of the storage account. +func (o RoutingStorageContainerPropertiesResponseOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// The subscription identifier of the storage account. +func (o RoutingStorageContainerPropertiesResponseOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingStorageContainerPropertiesResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +type RoutingStorageContainerPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (RoutingStorageContainerPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingStorageContainerPropertiesResponse)(nil)).Elem() +} + +func (o RoutingStorageContainerPropertiesResponseArrayOutput) ToRoutingStorageContainerPropertiesResponseArrayOutput() RoutingStorageContainerPropertiesResponseArrayOutput { + return o +} + +func (o RoutingStorageContainerPropertiesResponseArrayOutput) ToRoutingStorageContainerPropertiesResponseArrayOutputWithContext(ctx context.Context) RoutingStorageContainerPropertiesResponseArrayOutput { + return o +} + +func (o RoutingStorageContainerPropertiesResponseArrayOutput) Index(i pulumi.IntInput) RoutingStorageContainerPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingStorageContainerPropertiesResponse { + return vs[0].([]RoutingStorageContainerPropertiesResponse)[vs[1].(int)] + }).(RoutingStorageContainerPropertiesResponseOutput) +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRule struct { + // The name of the shared access policy. + KeyName string `pulumi:"keyName"` + // The primary key. + PrimaryKey *string `pulumi:"primaryKey"` + // The permissions assigned to the shared access policy. + Rights string `pulumi:"rights"` + // The secondary key. + SecondaryKey *string `pulumi:"secondaryKey"` +} + +// SharedAccessSignatureAuthorizationRuleInput is an input type that accepts SharedAccessSignatureAuthorizationRuleArgs and SharedAccessSignatureAuthorizationRuleOutput values. +// You can construct a concrete instance of `SharedAccessSignatureAuthorizationRuleInput` via: +// +// SharedAccessSignatureAuthorizationRuleArgs{...} +type SharedAccessSignatureAuthorizationRuleInput interface { + pulumi.Input + + ToSharedAccessSignatureAuthorizationRuleOutput() SharedAccessSignatureAuthorizationRuleOutput + ToSharedAccessSignatureAuthorizationRuleOutputWithContext(context.Context) SharedAccessSignatureAuthorizationRuleOutput +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRuleArgs struct { + // The name of the shared access policy. + KeyName pulumi.StringInput `pulumi:"keyName"` + // The primary key. + PrimaryKey pulumi.StringPtrInput `pulumi:"primaryKey"` + // The permissions assigned to the shared access policy. + Rights pulumi.StringInput `pulumi:"rights"` + // The secondary key. + SecondaryKey pulumi.StringPtrInput `pulumi:"secondaryKey"` +} + +func (SharedAccessSignatureAuthorizationRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SharedAccessSignatureAuthorizationRule)(nil)).Elem() +} + +func (i SharedAccessSignatureAuthorizationRuleArgs) ToSharedAccessSignatureAuthorizationRuleOutput() SharedAccessSignatureAuthorizationRuleOutput { + return i.ToSharedAccessSignatureAuthorizationRuleOutputWithContext(context.Background()) +} + +func (i SharedAccessSignatureAuthorizationRuleArgs) ToSharedAccessSignatureAuthorizationRuleOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SharedAccessSignatureAuthorizationRuleOutput) +} + +// SharedAccessSignatureAuthorizationRuleArrayInput is an input type that accepts SharedAccessSignatureAuthorizationRuleArray and SharedAccessSignatureAuthorizationRuleArrayOutput values. +// You can construct a concrete instance of `SharedAccessSignatureAuthorizationRuleArrayInput` via: +// +// SharedAccessSignatureAuthorizationRuleArray{ SharedAccessSignatureAuthorizationRuleArgs{...} } +type SharedAccessSignatureAuthorizationRuleArrayInput interface { + pulumi.Input + + ToSharedAccessSignatureAuthorizationRuleArrayOutput() SharedAccessSignatureAuthorizationRuleArrayOutput + ToSharedAccessSignatureAuthorizationRuleArrayOutputWithContext(context.Context) SharedAccessSignatureAuthorizationRuleArrayOutput +} + +type SharedAccessSignatureAuthorizationRuleArray []SharedAccessSignatureAuthorizationRuleInput + +func (SharedAccessSignatureAuthorizationRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SharedAccessSignatureAuthorizationRule)(nil)).Elem() +} + +func (i SharedAccessSignatureAuthorizationRuleArray) ToSharedAccessSignatureAuthorizationRuleArrayOutput() SharedAccessSignatureAuthorizationRuleArrayOutput { + return i.ToSharedAccessSignatureAuthorizationRuleArrayOutputWithContext(context.Background()) +} + +func (i SharedAccessSignatureAuthorizationRuleArray) ToSharedAccessSignatureAuthorizationRuleArrayOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SharedAccessSignatureAuthorizationRuleArrayOutput) +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRuleOutput struct{ *pulumi.OutputState } + +func (SharedAccessSignatureAuthorizationRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SharedAccessSignatureAuthorizationRule)(nil)).Elem() +} + +func (o SharedAccessSignatureAuthorizationRuleOutput) ToSharedAccessSignatureAuthorizationRuleOutput() SharedAccessSignatureAuthorizationRuleOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleOutput) ToSharedAccessSignatureAuthorizationRuleOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleOutput { + return o +} + +// The name of the shared access policy. +func (o SharedAccessSignatureAuthorizationRuleOutput) KeyName() pulumi.StringOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRule) string { return v.KeyName }).(pulumi.StringOutput) +} + +// The primary key. +func (o SharedAccessSignatureAuthorizationRuleOutput) PrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRule) *string { return v.PrimaryKey }).(pulumi.StringPtrOutput) +} + +// The permissions assigned to the shared access policy. +func (o SharedAccessSignatureAuthorizationRuleOutput) Rights() pulumi.StringOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRule) string { return v.Rights }).(pulumi.StringOutput) +} + +// The secondary key. +func (o SharedAccessSignatureAuthorizationRuleOutput) SecondaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRule) *string { return v.SecondaryKey }).(pulumi.StringPtrOutput) +} + +type SharedAccessSignatureAuthorizationRuleArrayOutput struct{ *pulumi.OutputState } + +func (SharedAccessSignatureAuthorizationRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SharedAccessSignatureAuthorizationRule)(nil)).Elem() +} + +func (o SharedAccessSignatureAuthorizationRuleArrayOutput) ToSharedAccessSignatureAuthorizationRuleArrayOutput() SharedAccessSignatureAuthorizationRuleArrayOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleArrayOutput) ToSharedAccessSignatureAuthorizationRuleArrayOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleArrayOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) SharedAccessSignatureAuthorizationRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SharedAccessSignatureAuthorizationRule { + return vs[0].([]SharedAccessSignatureAuthorizationRule)[vs[1].(int)] + }).(SharedAccessSignatureAuthorizationRuleOutput) +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRuleResponse struct { + // The name of the shared access policy. + KeyName string `pulumi:"keyName"` + // The primary key. + PrimaryKey *string `pulumi:"primaryKey"` + // The permissions assigned to the shared access policy. + Rights string `pulumi:"rights"` + // The secondary key. + SecondaryKey *string `pulumi:"secondaryKey"` +} + +// SharedAccessSignatureAuthorizationRuleResponseInput is an input type that accepts SharedAccessSignatureAuthorizationRuleResponseArgs and SharedAccessSignatureAuthorizationRuleResponseOutput values. +// You can construct a concrete instance of `SharedAccessSignatureAuthorizationRuleResponseInput` via: +// +// SharedAccessSignatureAuthorizationRuleResponseArgs{...} +type SharedAccessSignatureAuthorizationRuleResponseInput interface { + pulumi.Input + + ToSharedAccessSignatureAuthorizationRuleResponseOutput() SharedAccessSignatureAuthorizationRuleResponseOutput + ToSharedAccessSignatureAuthorizationRuleResponseOutputWithContext(context.Context) SharedAccessSignatureAuthorizationRuleResponseOutput +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRuleResponseArgs struct { + // The name of the shared access policy. + KeyName pulumi.StringInput `pulumi:"keyName"` + // The primary key. + PrimaryKey pulumi.StringPtrInput `pulumi:"primaryKey"` + // The permissions assigned to the shared access policy. + Rights pulumi.StringInput `pulumi:"rights"` + // The secondary key. + SecondaryKey pulumi.StringPtrInput `pulumi:"secondaryKey"` +} + +func (SharedAccessSignatureAuthorizationRuleResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SharedAccessSignatureAuthorizationRuleResponse)(nil)).Elem() +} + +func (i SharedAccessSignatureAuthorizationRuleResponseArgs) ToSharedAccessSignatureAuthorizationRuleResponseOutput() SharedAccessSignatureAuthorizationRuleResponseOutput { + return i.ToSharedAccessSignatureAuthorizationRuleResponseOutputWithContext(context.Background()) +} + +func (i SharedAccessSignatureAuthorizationRuleResponseArgs) ToSharedAccessSignatureAuthorizationRuleResponseOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SharedAccessSignatureAuthorizationRuleResponseOutput) +} + +// SharedAccessSignatureAuthorizationRuleResponseArrayInput is an input type that accepts SharedAccessSignatureAuthorizationRuleResponseArray and SharedAccessSignatureAuthorizationRuleResponseArrayOutput values. +// You can construct a concrete instance of `SharedAccessSignatureAuthorizationRuleResponseArrayInput` via: +// +// SharedAccessSignatureAuthorizationRuleResponseArray{ SharedAccessSignatureAuthorizationRuleResponseArgs{...} } +type SharedAccessSignatureAuthorizationRuleResponseArrayInput interface { + pulumi.Input + + ToSharedAccessSignatureAuthorizationRuleResponseArrayOutput() SharedAccessSignatureAuthorizationRuleResponseArrayOutput + ToSharedAccessSignatureAuthorizationRuleResponseArrayOutputWithContext(context.Context) SharedAccessSignatureAuthorizationRuleResponseArrayOutput +} + +type SharedAccessSignatureAuthorizationRuleResponseArray []SharedAccessSignatureAuthorizationRuleResponseInput + +func (SharedAccessSignatureAuthorizationRuleResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SharedAccessSignatureAuthorizationRuleResponse)(nil)).Elem() +} + +func (i SharedAccessSignatureAuthorizationRuleResponseArray) ToSharedAccessSignatureAuthorizationRuleResponseArrayOutput() SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return i.ToSharedAccessSignatureAuthorizationRuleResponseArrayOutputWithContext(context.Background()) +} + +func (i SharedAccessSignatureAuthorizationRuleResponseArray) ToSharedAccessSignatureAuthorizationRuleResponseArrayOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SharedAccessSignatureAuthorizationRuleResponseArrayOutput) +} + +// The properties of an IoT hub shared access policy. +type SharedAccessSignatureAuthorizationRuleResponseOutput struct{ *pulumi.OutputState } + +func (SharedAccessSignatureAuthorizationRuleResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SharedAccessSignatureAuthorizationRuleResponse)(nil)).Elem() +} + +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) ToSharedAccessSignatureAuthorizationRuleResponseOutput() SharedAccessSignatureAuthorizationRuleResponseOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) ToSharedAccessSignatureAuthorizationRuleResponseOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleResponseOutput { + return o +} + +// The name of the shared access policy. +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) KeyName() pulumi.StringOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRuleResponse) string { return v.KeyName }).(pulumi.StringOutput) +} + +// The primary key. +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) PrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRuleResponse) *string { return v.PrimaryKey }).(pulumi.StringPtrOutput) +} + +// The permissions assigned to the shared access policy. +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) Rights() pulumi.StringOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRuleResponse) string { return v.Rights }).(pulumi.StringOutput) +} + +// The secondary key. +func (o SharedAccessSignatureAuthorizationRuleResponseOutput) SecondaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v SharedAccessSignatureAuthorizationRuleResponse) *string { return v.SecondaryKey }).(pulumi.StringPtrOutput) +} + +type SharedAccessSignatureAuthorizationRuleResponseArrayOutput struct{ *pulumi.OutputState } + +func (SharedAccessSignatureAuthorizationRuleResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SharedAccessSignatureAuthorizationRuleResponse)(nil)).Elem() +} + +func (o SharedAccessSignatureAuthorizationRuleResponseArrayOutput) ToSharedAccessSignatureAuthorizationRuleResponseArrayOutput() SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleResponseArrayOutput) ToSharedAccessSignatureAuthorizationRuleResponseArrayOutputWithContext(ctx context.Context) SharedAccessSignatureAuthorizationRuleResponseArrayOutput { + return o +} + +func (o SharedAccessSignatureAuthorizationRuleResponseArrayOutput) Index(i pulumi.IntInput) SharedAccessSignatureAuthorizationRuleResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SharedAccessSignatureAuthorizationRuleResponse { + return vs[0].([]SharedAccessSignatureAuthorizationRuleResponse)[vs[1].(int)] + }).(SharedAccessSignatureAuthorizationRuleResponseOutput) +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointProperties struct { + // Specifies authentication type being used for connecting to the storage account. + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string for the Azure Storage account to which files are uploaded. + ConnectionString string `pulumi:"connectionString"` + // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + ContainerName string `pulumi:"containerName"` + // The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + SasTtlAsIso8601 *string `pulumi:"sasTtlAsIso8601"` +} + +// StorageEndpointPropertiesInput is an input type that accepts StorageEndpointPropertiesArgs and StorageEndpointPropertiesOutput values. +// You can construct a concrete instance of `StorageEndpointPropertiesInput` via: +// +// StorageEndpointPropertiesArgs{...} +type StorageEndpointPropertiesInput interface { + pulumi.Input + + ToStorageEndpointPropertiesOutput() StorageEndpointPropertiesOutput + ToStorageEndpointPropertiesOutputWithContext(context.Context) StorageEndpointPropertiesOutput +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointPropertiesArgs struct { + // Specifies authentication type being used for connecting to the storage account. + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string for the Azure Storage account to which files are uploaded. + ConnectionString pulumi.StringInput `pulumi:"connectionString"` + // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + ContainerName pulumi.StringInput `pulumi:"containerName"` + // The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + SasTtlAsIso8601 pulumi.StringPtrInput `pulumi:"sasTtlAsIso8601"` +} + +func (StorageEndpointPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageEndpointProperties)(nil)).Elem() +} + +func (i StorageEndpointPropertiesArgs) ToStorageEndpointPropertiesOutput() StorageEndpointPropertiesOutput { + return i.ToStorageEndpointPropertiesOutputWithContext(context.Background()) +} + +func (i StorageEndpointPropertiesArgs) ToStorageEndpointPropertiesOutputWithContext(ctx context.Context) StorageEndpointPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageEndpointPropertiesOutput) +} + +// StorageEndpointPropertiesMapInput is an input type that accepts StorageEndpointPropertiesMap and StorageEndpointPropertiesMapOutput values. +// You can construct a concrete instance of `StorageEndpointPropertiesMapInput` via: +// +// StorageEndpointPropertiesMap{ "key": StorageEndpointPropertiesArgs{...} } +type StorageEndpointPropertiesMapInput interface { + pulumi.Input + + ToStorageEndpointPropertiesMapOutput() StorageEndpointPropertiesMapOutput + ToStorageEndpointPropertiesMapOutputWithContext(context.Context) StorageEndpointPropertiesMapOutput +} + +type StorageEndpointPropertiesMap map[string]StorageEndpointPropertiesInput + +func (StorageEndpointPropertiesMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]StorageEndpointProperties)(nil)).Elem() +} + +func (i StorageEndpointPropertiesMap) ToStorageEndpointPropertiesMapOutput() StorageEndpointPropertiesMapOutput { + return i.ToStorageEndpointPropertiesMapOutputWithContext(context.Background()) +} + +func (i StorageEndpointPropertiesMap) ToStorageEndpointPropertiesMapOutputWithContext(ctx context.Context) StorageEndpointPropertiesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageEndpointPropertiesMapOutput) +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointPropertiesOutput struct{ *pulumi.OutputState } + +func (StorageEndpointPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageEndpointProperties)(nil)).Elem() +} + +func (o StorageEndpointPropertiesOutput) ToStorageEndpointPropertiesOutput() StorageEndpointPropertiesOutput { + return o +} + +func (o StorageEndpointPropertiesOutput) ToStorageEndpointPropertiesOutputWithContext(ctx context.Context) StorageEndpointPropertiesOutput { + return o +} + +// Specifies authentication type being used for connecting to the storage account. +func (o StorageEndpointPropertiesOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageEndpointProperties) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string for the Azure Storage account to which files are uploaded. +func (o StorageEndpointPropertiesOutput) ConnectionString() pulumi.StringOutput { + return o.ApplyT(func(v StorageEndpointProperties) string { return v.ConnectionString }).(pulumi.StringOutput) +} + +// The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. +func (o StorageEndpointPropertiesOutput) ContainerName() pulumi.StringOutput { + return o.ApplyT(func(v StorageEndpointProperties) string { return v.ContainerName }).(pulumi.StringOutput) +} + +// The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. +func (o StorageEndpointPropertiesOutput) SasTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageEndpointProperties) *string { return v.SasTtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type StorageEndpointPropertiesMapOutput struct{ *pulumi.OutputState } + +func (StorageEndpointPropertiesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]StorageEndpointProperties)(nil)).Elem() +} + +func (o StorageEndpointPropertiesMapOutput) ToStorageEndpointPropertiesMapOutput() StorageEndpointPropertiesMapOutput { + return o +} + +func (o StorageEndpointPropertiesMapOutput) ToStorageEndpointPropertiesMapOutputWithContext(ctx context.Context) StorageEndpointPropertiesMapOutput { + return o +} + +func (o StorageEndpointPropertiesMapOutput) MapIndex(k pulumi.StringInput) StorageEndpointPropertiesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) StorageEndpointProperties { + return vs[0].(map[string]StorageEndpointProperties)[vs[1].(string)] + }).(StorageEndpointPropertiesOutput) +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointPropertiesResponse struct { + // Specifies authentication type being used for connecting to the storage account. + AuthenticationType *string `pulumi:"authenticationType"` + // The connection string for the Azure Storage account to which files are uploaded. + ConnectionString string `pulumi:"connectionString"` + // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + ContainerName string `pulumi:"containerName"` + // The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + SasTtlAsIso8601 *string `pulumi:"sasTtlAsIso8601"` +} + +// StorageEndpointPropertiesResponseInput is an input type that accepts StorageEndpointPropertiesResponseArgs and StorageEndpointPropertiesResponseOutput values. +// You can construct a concrete instance of `StorageEndpointPropertiesResponseInput` via: +// +// StorageEndpointPropertiesResponseArgs{...} +type StorageEndpointPropertiesResponseInput interface { + pulumi.Input + + ToStorageEndpointPropertiesResponseOutput() StorageEndpointPropertiesResponseOutput + ToStorageEndpointPropertiesResponseOutputWithContext(context.Context) StorageEndpointPropertiesResponseOutput +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointPropertiesResponseArgs struct { + // Specifies authentication type being used for connecting to the storage account. + AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` + // The connection string for the Azure Storage account to which files are uploaded. + ConnectionString pulumi.StringInput `pulumi:"connectionString"` + // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + ContainerName pulumi.StringInput `pulumi:"containerName"` + // The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + SasTtlAsIso8601 pulumi.StringPtrInput `pulumi:"sasTtlAsIso8601"` +} + +func (StorageEndpointPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageEndpointPropertiesResponse)(nil)).Elem() +} + +func (i StorageEndpointPropertiesResponseArgs) ToStorageEndpointPropertiesResponseOutput() StorageEndpointPropertiesResponseOutput { + return i.ToStorageEndpointPropertiesResponseOutputWithContext(context.Background()) +} + +func (i StorageEndpointPropertiesResponseArgs) ToStorageEndpointPropertiesResponseOutputWithContext(ctx context.Context) StorageEndpointPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageEndpointPropertiesResponseOutput) +} + +// StorageEndpointPropertiesResponseMapInput is an input type that accepts StorageEndpointPropertiesResponseMap and StorageEndpointPropertiesResponseMapOutput values. +// You can construct a concrete instance of `StorageEndpointPropertiesResponseMapInput` via: +// +// StorageEndpointPropertiesResponseMap{ "key": StorageEndpointPropertiesResponseArgs{...} } +type StorageEndpointPropertiesResponseMapInput interface { + pulumi.Input + + ToStorageEndpointPropertiesResponseMapOutput() StorageEndpointPropertiesResponseMapOutput + ToStorageEndpointPropertiesResponseMapOutputWithContext(context.Context) StorageEndpointPropertiesResponseMapOutput +} + +type StorageEndpointPropertiesResponseMap map[string]StorageEndpointPropertiesResponseInput + +func (StorageEndpointPropertiesResponseMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]StorageEndpointPropertiesResponse)(nil)).Elem() +} + +func (i StorageEndpointPropertiesResponseMap) ToStorageEndpointPropertiesResponseMapOutput() StorageEndpointPropertiesResponseMapOutput { + return i.ToStorageEndpointPropertiesResponseMapOutputWithContext(context.Background()) +} + +func (i StorageEndpointPropertiesResponseMap) ToStorageEndpointPropertiesResponseMapOutputWithContext(ctx context.Context) StorageEndpointPropertiesResponseMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageEndpointPropertiesResponseMapOutput) +} + +// The properties of the Azure Storage endpoint for file upload. +type StorageEndpointPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (StorageEndpointPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageEndpointPropertiesResponse)(nil)).Elem() +} + +func (o StorageEndpointPropertiesResponseOutput) ToStorageEndpointPropertiesResponseOutput() StorageEndpointPropertiesResponseOutput { + return o +} + +func (o StorageEndpointPropertiesResponseOutput) ToStorageEndpointPropertiesResponseOutputWithContext(ctx context.Context) StorageEndpointPropertiesResponseOutput { + return o +} + +// Specifies authentication type being used for connecting to the storage account. +func (o StorageEndpointPropertiesResponseOutput) AuthenticationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageEndpointPropertiesResponse) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput) +} + +// The connection string for the Azure Storage account to which files are uploaded. +func (o StorageEndpointPropertiesResponseOutput) ConnectionString() pulumi.StringOutput { + return o.ApplyT(func(v StorageEndpointPropertiesResponse) string { return v.ConnectionString }).(pulumi.StringOutput) +} + +// The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. +func (o StorageEndpointPropertiesResponseOutput) ContainerName() pulumi.StringOutput { + return o.ApplyT(func(v StorageEndpointPropertiesResponse) string { return v.ContainerName }).(pulumi.StringOutput) +} + +// The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. +func (o StorageEndpointPropertiesResponseOutput) SasTtlAsIso8601() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageEndpointPropertiesResponse) *string { return v.SasTtlAsIso8601 }).(pulumi.StringPtrOutput) +} + +type StorageEndpointPropertiesResponseMapOutput struct{ *pulumi.OutputState } + +func (StorageEndpointPropertiesResponseMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]StorageEndpointPropertiesResponse)(nil)).Elem() +} + +func (o StorageEndpointPropertiesResponseMapOutput) ToStorageEndpointPropertiesResponseMapOutput() StorageEndpointPropertiesResponseMapOutput { + return o +} + +func (o StorageEndpointPropertiesResponseMapOutput) ToStorageEndpointPropertiesResponseMapOutputWithContext(ctx context.Context) StorageEndpointPropertiesResponseMapOutput { + return o +} + +func (o StorageEndpointPropertiesResponseMapOutput) MapIndex(k pulumi.StringInput) StorageEndpointPropertiesResponseOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) StorageEndpointPropertiesResponse { + return vs[0].(map[string]StorageEndpointPropertiesResponse)[vs[1].(string)] + }).(StorageEndpointPropertiesResponseOutput) +} + +func init() { + pulumi.RegisterOutputType(CertificatePropertiesOutput{}) + pulumi.RegisterOutputType(CertificatePropertiesPtrOutput{}) + pulumi.RegisterOutputType(CertificatePropertiesResponseOutput{}) + pulumi.RegisterOutputType(CertificatePropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(CloudToDevicePropertiesOutput{}) + pulumi.RegisterOutputType(CloudToDevicePropertiesPtrOutput{}) + pulumi.RegisterOutputType(CloudToDevicePropertiesResponseOutput{}) + pulumi.RegisterOutputType(CloudToDevicePropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(EnrichmentPropertiesOutput{}) + pulumi.RegisterOutputType(EnrichmentPropertiesArrayOutput{}) + pulumi.RegisterOutputType(EnrichmentPropertiesResponseOutput{}) + pulumi.RegisterOutputType(EnrichmentPropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(EventHubConsumerGroupNameOutput{}) + pulumi.RegisterOutputType(EventHubConsumerGroupNamePtrOutput{}) + pulumi.RegisterOutputType(EventHubPropertiesOutput{}) + pulumi.RegisterOutputType(EventHubPropertiesMapOutput{}) + pulumi.RegisterOutputType(EventHubPropertiesResponseOutput{}) + pulumi.RegisterOutputType(EventHubPropertiesResponseMapOutput{}) + pulumi.RegisterOutputType(FallbackRoutePropertiesOutput{}) + pulumi.RegisterOutputType(FallbackRoutePropertiesPtrOutput{}) + pulumi.RegisterOutputType(FallbackRoutePropertiesResponseOutput{}) + pulumi.RegisterOutputType(FallbackRoutePropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(FeedbackPropertiesOutput{}) + pulumi.RegisterOutputType(FeedbackPropertiesPtrOutput{}) + pulumi.RegisterOutputType(FeedbackPropertiesResponseOutput{}) + pulumi.RegisterOutputType(FeedbackPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(IotHubLocationDescriptionResponseOutput{}) + pulumi.RegisterOutputType(IotHubLocationDescriptionResponseArrayOutput{}) + pulumi.RegisterOutputType(IotHubPropertiesOutput{}) + pulumi.RegisterOutputType(IotHubPropertiesPtrOutput{}) + pulumi.RegisterOutputType(IotHubPropertiesResponseOutput{}) + pulumi.RegisterOutputType(IotHubPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(IotHubSkuInfoOutput{}) + pulumi.RegisterOutputType(IotHubSkuInfoPtrOutput{}) + pulumi.RegisterOutputType(IotHubSkuInfoResponseOutput{}) + pulumi.RegisterOutputType(IotHubSkuInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(IpFilterRuleOutput{}) + pulumi.RegisterOutputType(IpFilterRuleArrayOutput{}) + pulumi.RegisterOutputType(IpFilterRuleResponseOutput{}) + pulumi.RegisterOutputType(IpFilterRuleResponseArrayOutput{}) + pulumi.RegisterOutputType(MessagingEndpointPropertiesOutput{}) + pulumi.RegisterOutputType(MessagingEndpointPropertiesMapOutput{}) + pulumi.RegisterOutputType(MessagingEndpointPropertiesResponseOutput{}) + pulumi.RegisterOutputType(MessagingEndpointPropertiesResponseMapOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionTypeOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionTypeArrayOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionPropertiesOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionPropertiesPtrOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionPropertiesResponseOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionResponseOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionResponseArrayOutput{}) + pulumi.RegisterOutputType(PrivateEndpointResponseOutput{}) + pulumi.RegisterOutputType(PrivateEndpointResponsePtrOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStatePtrOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponseOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponsePtrOutput{}) + pulumi.RegisterOutputType(RoutePropertiesOutput{}) + pulumi.RegisterOutputType(RoutePropertiesArrayOutput{}) + pulumi.RegisterOutputType(RoutePropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutePropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(RoutingEndpointsOutput{}) + pulumi.RegisterOutputType(RoutingEndpointsPtrOutput{}) + pulumi.RegisterOutputType(RoutingEndpointsResponseOutput{}) + pulumi.RegisterOutputType(RoutingEndpointsResponsePtrOutput{}) + pulumi.RegisterOutputType(RoutingEventHubPropertiesOutput{}) + pulumi.RegisterOutputType(RoutingEventHubPropertiesArrayOutput{}) + pulumi.RegisterOutputType(RoutingEventHubPropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutingEventHubPropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(RoutingPropertiesOutput{}) + pulumi.RegisterOutputType(RoutingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(RoutingPropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutingPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusQueueEndpointPropertiesOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusQueueEndpointPropertiesArrayOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusQueueEndpointPropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusQueueEndpointPropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusTopicEndpointPropertiesOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusTopicEndpointPropertiesArrayOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusTopicEndpointPropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutingServiceBusTopicEndpointPropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(RoutingStorageContainerPropertiesOutput{}) + pulumi.RegisterOutputType(RoutingStorageContainerPropertiesArrayOutput{}) + pulumi.RegisterOutputType(RoutingStorageContainerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(RoutingStorageContainerPropertiesResponseArrayOutput{}) + pulumi.RegisterOutputType(SharedAccessSignatureAuthorizationRuleOutput{}) + pulumi.RegisterOutputType(SharedAccessSignatureAuthorizationRuleArrayOutput{}) + pulumi.RegisterOutputType(SharedAccessSignatureAuthorizationRuleResponseOutput{}) + pulumi.RegisterOutputType(SharedAccessSignatureAuthorizationRuleResponseArrayOutput{}) + pulumi.RegisterOutputType(StorageEndpointPropertiesOutput{}) + pulumi.RegisterOutputType(StorageEndpointPropertiesMapOutput{}) + pulumi.RegisterOutputType(StorageEndpointPropertiesResponseOutput{}) + pulumi.RegisterOutputType(StorageEndpointPropertiesResponseMapOutput{}) +} diff --git a/sdk/go/azurerm/hybridcompute/latest/machine.go b/sdk/go/azurerm/hybridcompute/latest/machine.go index b30ae12747b8..94c95c87759f 100644 --- a/sdk/go/azurerm/hybridcompute/latest/machine.go +++ b/sdk/go/azurerm/hybridcompute/latest/machine.go @@ -226,10 +226,8 @@ func (MachineState) ElementType() reflect.Type { type machineArgs struct { // Public Key that the client provides to be used during initial resource onboarding - ClientPublicKey *string `pulumi:"clientPublicKey"` - // Machine Extensions information - Extensions []MachineExtensionInstanceView `pulumi:"extensions"` - Identity *MachineIdentity `pulumi:"identity"` + ClientPublicKey *string `pulumi:"clientPublicKey"` + Identity *MachineIdentity `pulumi:"identity"` // The geo-location where the resource lives Location string `pulumi:"location"` // Metadata pertaining to the geographic location of the resource. @@ -248,9 +246,7 @@ type machineArgs struct { type MachineArgs struct { // Public Key that the client provides to be used during initial resource onboarding ClientPublicKey pulumi.StringPtrInput - // Machine Extensions information - Extensions MachineExtensionInstanceViewArrayInput - Identity MachineIdentityPtrInput + Identity MachineIdentityPtrInput // The geo-location where the resource lives Location pulumi.StringInput // Metadata pertaining to the geographic location of the resource. diff --git a/sdk/go/azurerm/hybridcompute/latest/machineExtension.go b/sdk/go/azurerm/hybridcompute/latest/machineExtension.go index b959b664407a..8505c1e61f7a 100644 --- a/sdk/go/azurerm/hybridcompute/latest/machineExtension.go +++ b/sdk/go/azurerm/hybridcompute/latest/machineExtension.go @@ -162,8 +162,6 @@ type machineExtensionArgs struct { ExtensionName string `pulumi:"extensionName"` // How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag *string `pulumi:"forceUpdateTag"` - // The machine extension instance view. - InstanceView *MachineExtensionPropertiesInstanceView `pulumi:"instanceView"` // The geo-location where the resource lives Location string `pulumi:"location"` // The name of the machine where the extension should be created or updated. @@ -192,8 +190,6 @@ type MachineExtensionArgs struct { ExtensionName pulumi.StringInput // How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag pulumi.StringPtrInput - // The machine extension instance view. - InstanceView MachineExtensionPropertiesInstanceViewPtrInput // The geo-location where the resource lives Location pulumi.StringInput // The name of the machine where the extension should be created or updated. diff --git a/sdk/go/azurerm/hybridcompute/latest/pulumiTypes.go b/sdk/go/azurerm/hybridcompute/latest/pulumiTypes.go index 489d14fead2b..3599c4c36dda 100644 --- a/sdk/go/azurerm/hybridcompute/latest/pulumiTypes.go +++ b/sdk/go/azurerm/hybridcompute/latest/pulumiTypes.go @@ -2546,143 +2546,16 @@ func (o GuestConfigurationNavigationResponsePtrOutput) Version() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceView struct { - // The machine extension name. - Name *string `pulumi:"name"` - // Instance view status. - Status *MachineExtensionInstanceViewStatus `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` -} - -// MachineExtensionInstanceViewInput is an input type that accepts MachineExtensionInstanceViewArgs and MachineExtensionInstanceViewOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewInput` via: -// -// MachineExtensionInstanceViewArgs{...} -type MachineExtensionInstanceViewInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput - ToMachineExtensionInstanceViewOutputWithContext(context.Context) MachineExtensionInstanceViewOutput -} - -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceViewArgs struct { - // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Instance view status. - Status MachineExtensionInstanceViewStatusPtrInput `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` -} - -func (MachineExtensionInstanceViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceView)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewArgs) ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput { - return i.ToMachineExtensionInstanceViewOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewArgs) ToMachineExtensionInstanceViewOutputWithContext(ctx context.Context) MachineExtensionInstanceViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewOutput) -} - -// MachineExtensionInstanceViewArrayInput is an input type that accepts MachineExtensionInstanceViewArray and MachineExtensionInstanceViewArrayOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewArrayInput` via: -// -// MachineExtensionInstanceViewArray{ MachineExtensionInstanceViewArgs{...} } -type MachineExtensionInstanceViewArrayInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput - ToMachineExtensionInstanceViewArrayOutputWithContext(context.Context) MachineExtensionInstanceViewArrayOutput -} - -type MachineExtensionInstanceViewArray []MachineExtensionInstanceViewInput - -func (MachineExtensionInstanceViewArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MachineExtensionInstanceView)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewArray) ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput { - return i.ToMachineExtensionInstanceViewArrayOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewArray) ToMachineExtensionInstanceViewArrayOutputWithContext(ctx context.Context) MachineExtensionInstanceViewArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewArrayOutput) -} - -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceViewOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceView)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewOutput) ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput { - return o -} - -func (o MachineExtensionInstanceViewOutput) ToMachineExtensionInstanceViewOutputWithContext(ctx context.Context) MachineExtensionInstanceViewOutput { - return o -} - -// The machine extension name. -func (o MachineExtensionInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionInstanceViewOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *MachineExtensionInstanceViewStatus { return v.Status }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) -} - -type MachineExtensionInstanceViewArrayOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MachineExtensionInstanceView)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewArrayOutput) ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput { - return o -} - -func (o MachineExtensionInstanceViewArrayOutput) ToMachineExtensionInstanceViewArrayOutputWithContext(ctx context.Context) MachineExtensionInstanceViewArrayOutput { - return o -} - -func (o MachineExtensionInstanceViewArrayOutput) Index(i pulumi.IntInput) MachineExtensionInstanceViewOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MachineExtensionInstanceView { - return vs[0].([]MachineExtensionInstanceView)[vs[1].(int)] - }).(MachineExtensionInstanceViewOutput) -} - // Describes the Machine Extension Instance View. type MachineExtensionInstanceViewResponse struct { // The machine extension name. - Name *string `pulumi:"name"` + Name string `pulumi:"name"` // Instance view status. Status *MachineExtensionInstanceViewResponseStatus `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` + Type string `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` + TypeHandlerVersion string `pulumi:"typeHandlerVersion"` } // MachineExtensionInstanceViewResponseInput is an input type that accepts MachineExtensionInstanceViewResponseArgs and MachineExtensionInstanceViewResponseOutput values. @@ -2699,13 +2572,13 @@ type MachineExtensionInstanceViewResponseInput interface { // Describes the Machine Extension Instance View. type MachineExtensionInstanceViewResponseArgs struct { // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` // Instance view status. Status MachineExtensionInstanceViewResponseStatusPtrInput `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` + Type pulumi.StringInput `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` + TypeHandlerVersion pulumi.StringInput `pulumi:"typeHandlerVersion"` } func (MachineExtensionInstanceViewResponseArgs) ElementType() reflect.Type { @@ -2761,8 +2634,8 @@ func (o MachineExtensionInstanceViewResponseOutput) ToMachineExtensionInstanceVi } // The machine extension name. -func (o MachineExtensionInstanceViewResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.Name }).(pulumi.StringOutput) } // Instance view status. @@ -2773,13 +2646,13 @@ func (o MachineExtensionInstanceViewResponseOutput) Status() MachineExtensionIns } // Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionInstanceViewResponseOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.Type }).(pulumi.StringOutput) } // Specifies the version of the script handler. -func (o MachineExtensionInstanceViewResponseOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) TypeHandlerVersion() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.TypeHandlerVersion }).(pulumi.StringOutput) } type MachineExtensionInstanceViewResponseArrayOutput struct{ *pulumi.OutputState } @@ -2805,15 +2678,15 @@ func (o MachineExtensionInstanceViewResponseArrayOutput) Index(i pulumi.IntInput // Instance view status. type MachineExtensionInstanceViewResponseStatus struct { // The status code. - Code *string `pulumi:"code"` + Code string `pulumi:"code"` // The short localizable label for the status. - DisplayStatus *string `pulumi:"displayStatus"` + DisplayStatus string `pulumi:"displayStatus"` // The level code. - Level *string `pulumi:"level"` + Level string `pulumi:"level"` // The detailed status message, including for alerts and error messages. - Message *string `pulumi:"message"` + Message string `pulumi:"message"` // The time of the status. - Time *string `pulumi:"time"` + Time string `pulumi:"time"` } // MachineExtensionInstanceViewResponseStatusInput is an input type that accepts MachineExtensionInstanceViewResponseStatusArgs and MachineExtensionInstanceViewResponseStatusOutput values. @@ -2830,15 +2703,15 @@ type MachineExtensionInstanceViewResponseStatusInput interface { // Instance view status. type MachineExtensionInstanceViewResponseStatusArgs struct { // The status code. - Code pulumi.StringPtrInput `pulumi:"code"` + Code pulumi.StringInput `pulumi:"code"` // The short localizable label for the status. - DisplayStatus pulumi.StringPtrInput `pulumi:"displayStatus"` + DisplayStatus pulumi.StringInput `pulumi:"displayStatus"` // The level code. - Level pulumi.StringPtrInput `pulumi:"level"` + Level pulumi.StringInput `pulumi:"level"` // The detailed status message, including for alerts and error messages. - Message pulumi.StringPtrInput `pulumi:"message"` + Message pulumi.StringInput `pulumi:"message"` // The time of the status. - Time pulumi.StringPtrInput `pulumi:"time"` + Time pulumi.StringInput `pulumi:"time"` } func (MachineExtensionInstanceViewResponseStatusArgs) ElementType() reflect.Type { @@ -2920,28 +2793,28 @@ func (o MachineExtensionInstanceViewResponseStatusOutput) ToMachineExtensionInst } // The status code. -func (o MachineExtensionInstanceViewResponseStatusOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Code }).(pulumi.StringOutput) } // The short localizable label for the status. -func (o MachineExtensionInstanceViewResponseStatusOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.DisplayStatus }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) DisplayStatus() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.DisplayStatus }).(pulumi.StringOutput) } // The level code. -func (o MachineExtensionInstanceViewResponseStatusOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Level }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Level() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Level }).(pulumi.StringOutput) } // The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewResponseStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Message }).(pulumi.StringOutput) } // The time of the status. -func (o MachineExtensionInstanceViewResponseStatusOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Time }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Time() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Time }).(pulumi.StringOutput) } type MachineExtensionInstanceViewResponseStatusPtrOutput struct{ *pulumi.OutputState } @@ -2970,7 +2843,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Code() pulumi.Strin if v == nil { return nil } - return v.Code + return &v.Code }).(pulumi.StringPtrOutput) } @@ -2980,7 +2853,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) DisplayStatus() pul if v == nil { return nil } - return v.DisplayStatus + return &v.DisplayStatus }).(pulumi.StringPtrOutput) } @@ -2990,7 +2863,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Level() pulumi.Stri if v == nil { return nil } - return v.Level + return &v.Level }).(pulumi.StringPtrOutput) } @@ -3000,7 +2873,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Message() pulumi.St if v == nil { return nil } - return v.Message + return &v.Message }).(pulumi.StringPtrOutput) } @@ -3010,421 +2883,20 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Time() pulumi.Strin if v == nil { return nil } - return v.Time - }).(pulumi.StringPtrOutput) -} - -// Instance view status. -type MachineExtensionInstanceViewStatus struct { - // The status code. - Code *string `pulumi:"code"` - // The short localizable label for the status. - DisplayStatus *string `pulumi:"displayStatus"` - // The level code. - Level *string `pulumi:"level"` - // The detailed status message, including for alerts and error messages. - Message *string `pulumi:"message"` - // The time of the status. - Time *string `pulumi:"time"` -} - -// MachineExtensionInstanceViewStatusInput is an input type that accepts MachineExtensionInstanceViewStatusArgs and MachineExtensionInstanceViewStatusOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewStatusInput` via: -// -// MachineExtensionInstanceViewStatusArgs{...} -type MachineExtensionInstanceViewStatusInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput - ToMachineExtensionInstanceViewStatusOutputWithContext(context.Context) MachineExtensionInstanceViewStatusOutput -} - -// Instance view status. -type MachineExtensionInstanceViewStatusArgs struct { - // The status code. - Code pulumi.StringPtrInput `pulumi:"code"` - // The short localizable label for the status. - DisplayStatus pulumi.StringPtrInput `pulumi:"displayStatus"` - // The level code. - Level pulumi.StringPtrInput `pulumi:"level"` - // The detailed status message, including for alerts and error messages. - Message pulumi.StringPtrInput `pulumi:"message"` - // The time of the status. - Time pulumi.StringPtrInput `pulumi:"time"` -} - -func (MachineExtensionInstanceViewStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput { - return i.ToMachineExtensionInstanceViewStatusOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusOutput) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return i.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusOutput).ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx) -} - -// MachineExtensionInstanceViewStatusPtrInput is an input type that accepts MachineExtensionInstanceViewStatusArgs, MachineExtensionInstanceViewStatusPtr and MachineExtensionInstanceViewStatusPtrOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewStatusPtrInput` via: -// -// MachineExtensionInstanceViewStatusArgs{...} -// -// or: -// -// nil -type MachineExtensionInstanceViewStatusPtrInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput - ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Context) MachineExtensionInstanceViewStatusPtrOutput -} - -type machineExtensionInstanceViewStatusPtrType MachineExtensionInstanceViewStatusArgs - -func MachineExtensionInstanceViewStatusPtr(v *MachineExtensionInstanceViewStatusArgs) MachineExtensionInstanceViewStatusPtrInput { - return (*machineExtensionInstanceViewStatusPtrType)(v) -} - -func (*machineExtensionInstanceViewStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (i *machineExtensionInstanceViewStatusPtrType) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return i.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (i *machineExtensionInstanceViewStatusPtrType) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Instance view status. -type MachineExtensionInstanceViewStatusOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return o.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *MachineExtensionInstanceViewStatus { - return &v - }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// The status code. -func (o MachineExtensionInstanceViewStatusOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Code }).(pulumi.StringPtrOutput) -} - -// The short localizable label for the status. -func (o MachineExtensionInstanceViewStatusOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.DisplayStatus }).(pulumi.StringPtrOutput) -} - -// The level code. -func (o MachineExtensionInstanceViewStatusOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Level }).(pulumi.StringPtrOutput) -} - -// The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Message }).(pulumi.StringPtrOutput) -} - -// The time of the status. -func (o MachineExtensionInstanceViewStatusOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Time }).(pulumi.StringPtrOutput) -} - -type MachineExtensionInstanceViewStatusPtrOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) Elem() MachineExtensionInstanceViewStatusOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) MachineExtensionInstanceViewStatus { return *v }).(MachineExtensionInstanceViewStatusOutput) -} - -// The status code. -func (o MachineExtensionInstanceViewStatusPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Code - }).(pulumi.StringPtrOutput) -} - -// The short localizable label for the status. -func (o MachineExtensionInstanceViewStatusPtrOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.DisplayStatus - }).(pulumi.StringPtrOutput) -} - -// The level code. -func (o MachineExtensionInstanceViewStatusPtrOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Level - }).(pulumi.StringPtrOutput) -} - -// The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewStatusPtrOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Message - }).(pulumi.StringPtrOutput) -} - -// The time of the status. -func (o MachineExtensionInstanceViewStatusPtrOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Time - }).(pulumi.StringPtrOutput) -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceView struct { - // The machine extension name. - Name *string `pulumi:"name"` - // Instance view status. - Status *MachineExtensionInstanceViewStatus `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` -} - -// MachineExtensionPropertiesInstanceViewInput is an input type that accepts MachineExtensionPropertiesInstanceViewArgs and MachineExtensionPropertiesInstanceViewOutput values. -// You can construct a concrete instance of `MachineExtensionPropertiesInstanceViewInput` via: -// -// MachineExtensionPropertiesInstanceViewArgs{...} -type MachineExtensionPropertiesInstanceViewInput interface { - pulumi.Input - - ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput - ToMachineExtensionPropertiesInstanceViewOutputWithContext(context.Context) MachineExtensionPropertiesInstanceViewOutput -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceViewArgs struct { - // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Instance view status. - Status MachineExtensionInstanceViewStatusPtrInput `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` -} - -func (MachineExtensionPropertiesInstanceViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput { - return i.ToMachineExtensionPropertiesInstanceViewOutputWithContext(context.Background()) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewOutput) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return i.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewOutput).ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx) -} - -// MachineExtensionPropertiesInstanceViewPtrInput is an input type that accepts MachineExtensionPropertiesInstanceViewArgs, MachineExtensionPropertiesInstanceViewPtr and MachineExtensionPropertiesInstanceViewPtrOutput values. -// You can construct a concrete instance of `MachineExtensionPropertiesInstanceViewPtrInput` via: -// -// MachineExtensionPropertiesInstanceViewArgs{...} -// -// or: -// -// nil -type MachineExtensionPropertiesInstanceViewPtrInput interface { - pulumi.Input - - ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput - ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Context) MachineExtensionPropertiesInstanceViewPtrOutput -} - -type machineExtensionPropertiesInstanceViewPtrType MachineExtensionPropertiesInstanceViewArgs - -func MachineExtensionPropertiesInstanceViewPtr(v *MachineExtensionPropertiesInstanceViewArgs) MachineExtensionPropertiesInstanceViewPtrInput { - return (*machineExtensionPropertiesInstanceViewPtrType)(v) -} - -func (*machineExtensionPropertiesInstanceViewPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (i *machineExtensionPropertiesInstanceViewPtrType) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return i.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (i *machineExtensionPropertiesInstanceViewPtrType) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewPtrOutput) -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceViewOutput struct{ *pulumi.OutputState } - -func (MachineExtensionPropertiesInstanceViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return o.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *MachineExtensionPropertiesInstanceView { - return &v - }).(MachineExtensionPropertiesInstanceViewPtrOutput) -} - -// The machine extension name. -func (o MachineExtensionPropertiesInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionPropertiesInstanceViewOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *MachineExtensionInstanceViewStatus { return v.Status }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionPropertiesInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) -} - -type MachineExtensionPropertiesInstanceViewPtrOutput struct{ *pulumi.OutputState } - -func (MachineExtensionPropertiesInstanceViewPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Elem() MachineExtensionPropertiesInstanceViewOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) MachineExtensionPropertiesInstanceView { return *v }).(MachineExtensionPropertiesInstanceViewOutput) -} - -// The machine extension name. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *MachineExtensionInstanceViewStatus { - if v == nil { - return nil - } - return v.Status - }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.TypeHandlerVersion + return &v.Time }).(pulumi.StringPtrOutput) } // The machine extension instance view. type MachineExtensionPropertiesResponseInstanceView struct { // The machine extension name. - Name *string `pulumi:"name"` + Name string `pulumi:"name"` // Instance view status. Status *MachineExtensionInstanceViewResponseStatus `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` + Type string `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` + TypeHandlerVersion string `pulumi:"typeHandlerVersion"` } // MachineExtensionPropertiesResponseInstanceViewInput is an input type that accepts MachineExtensionPropertiesResponseInstanceViewArgs and MachineExtensionPropertiesResponseInstanceViewOutput values. @@ -3441,13 +2913,13 @@ type MachineExtensionPropertiesResponseInstanceViewInput interface { // The machine extension instance view. type MachineExtensionPropertiesResponseInstanceViewArgs struct { // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` // Instance view status. Status MachineExtensionInstanceViewResponseStatusPtrInput `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` + Type pulumi.StringInput `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` + TypeHandlerVersion pulumi.StringInput `pulumi:"typeHandlerVersion"` } func (MachineExtensionPropertiesResponseInstanceViewArgs) ElementType() reflect.Type { @@ -3529,8 +3001,8 @@ func (o MachineExtensionPropertiesResponseInstanceViewOutput) ToMachineExtension } // The machine extension name. -func (o MachineExtensionPropertiesResponseInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.Name }).(pulumi.StringOutput) } // Instance view status. @@ -3541,13 +3013,13 @@ func (o MachineExtensionPropertiesResponseInstanceViewOutput) Status() MachineEx } // Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesResponseInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.Type }).(pulumi.StringOutput) } // Specifies the version of the script handler. -func (o MachineExtensionPropertiesResponseInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) TypeHandlerVersion() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.TypeHandlerVersion }).(pulumi.StringOutput) } type MachineExtensionPropertiesResponseInstanceViewPtrOutput struct{ *pulumi.OutputState } @@ -3576,7 +3048,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) Name() pulumi.S if v == nil { return nil } - return v.Name + return &v.Name }).(pulumi.StringPtrOutput) } @@ -3596,7 +3068,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) Type() pulumi.S if v == nil { return nil } - return v.Type + return &v.Type }).(pulumi.StringPtrOutput) } @@ -3606,7 +3078,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) TypeHandlerVers if v == nil { return nil } - return v.TypeHandlerVersion + return &v.TypeHandlerVersion }).(pulumi.StringPtrOutput) } @@ -4608,16 +4080,10 @@ func init() { pulumi.RegisterOutputType(GuestConfigurationNavigationPtrOutput{}) pulumi.RegisterOutputType(GuestConfigurationNavigationResponseOutput{}) pulumi.RegisterOutputType(GuestConfigurationNavigationResponsePtrOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewArrayOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseArrayOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseStatusOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseStatusPtrOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewStatusOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewStatusPtrOutput{}) - pulumi.RegisterOutputType(MachineExtensionPropertiesInstanceViewOutput{}) - pulumi.RegisterOutputType(MachineExtensionPropertiesInstanceViewPtrOutput{}) pulumi.RegisterOutputType(MachineExtensionPropertiesResponseInstanceViewOutput{}) pulumi.RegisterOutputType(MachineExtensionPropertiesResponseInstanceViewPtrOutput{}) pulumi.RegisterOutputType(MachineIdentityOutput{}) diff --git a/sdk/go/azurerm/hybridcompute/v20200802/machine.go b/sdk/go/azurerm/hybridcompute/v20200802/machine.go index 8a43f490a203..0729ebed9605 100644 --- a/sdk/go/azurerm/hybridcompute/v20200802/machine.go +++ b/sdk/go/azurerm/hybridcompute/v20200802/machine.go @@ -226,10 +226,8 @@ func (MachineState) ElementType() reflect.Type { type machineArgs struct { // Public Key that the client provides to be used during initial resource onboarding - ClientPublicKey *string `pulumi:"clientPublicKey"` - // Machine Extensions information - Extensions []MachineExtensionInstanceView `pulumi:"extensions"` - Identity *MachineIdentity `pulumi:"identity"` + ClientPublicKey *string `pulumi:"clientPublicKey"` + Identity *MachineIdentity `pulumi:"identity"` // The geo-location where the resource lives Location string `pulumi:"location"` // Metadata pertaining to the geographic location of the resource. @@ -248,9 +246,7 @@ type machineArgs struct { type MachineArgs struct { // Public Key that the client provides to be used during initial resource onboarding ClientPublicKey pulumi.StringPtrInput - // Machine Extensions information - Extensions MachineExtensionInstanceViewArrayInput - Identity MachineIdentityPtrInput + Identity MachineIdentityPtrInput // The geo-location where the resource lives Location pulumi.StringInput // Metadata pertaining to the geographic location of the resource. diff --git a/sdk/go/azurerm/hybridcompute/v20200802/machineExtension.go b/sdk/go/azurerm/hybridcompute/v20200802/machineExtension.go index 02cf776ac99d..b16cab08a626 100644 --- a/sdk/go/azurerm/hybridcompute/v20200802/machineExtension.go +++ b/sdk/go/azurerm/hybridcompute/v20200802/machineExtension.go @@ -162,8 +162,6 @@ type machineExtensionArgs struct { ExtensionName string `pulumi:"extensionName"` // How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag *string `pulumi:"forceUpdateTag"` - // The machine extension instance view. - InstanceView *MachineExtensionPropertiesInstanceView `pulumi:"instanceView"` // The geo-location where the resource lives Location string `pulumi:"location"` // The name of the machine where the extension should be created or updated. @@ -192,8 +190,6 @@ type MachineExtensionArgs struct { ExtensionName pulumi.StringInput // How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag pulumi.StringPtrInput - // The machine extension instance view. - InstanceView MachineExtensionPropertiesInstanceViewPtrInput // The geo-location where the resource lives Location pulumi.StringInput // The name of the machine where the extension should be created or updated. diff --git a/sdk/go/azurerm/hybridcompute/v20200802/pulumiTypes.go b/sdk/go/azurerm/hybridcompute/v20200802/pulumiTypes.go index 04b3441bdecd..8f12c28b895f 100644 --- a/sdk/go/azurerm/hybridcompute/v20200802/pulumiTypes.go +++ b/sdk/go/azurerm/hybridcompute/v20200802/pulumiTypes.go @@ -134,143 +134,16 @@ func (o ErrorDetailResponseArrayOutput) Index(i pulumi.IntInput) ErrorDetailResp }).(ErrorDetailResponseOutput) } -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceView struct { - // The machine extension name. - Name *string `pulumi:"name"` - // Instance view status. - Status *MachineExtensionInstanceViewStatus `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` -} - -// MachineExtensionInstanceViewInput is an input type that accepts MachineExtensionInstanceViewArgs and MachineExtensionInstanceViewOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewInput` via: -// -// MachineExtensionInstanceViewArgs{...} -type MachineExtensionInstanceViewInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput - ToMachineExtensionInstanceViewOutputWithContext(context.Context) MachineExtensionInstanceViewOutput -} - -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceViewArgs struct { - // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Instance view status. - Status MachineExtensionInstanceViewStatusPtrInput `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` -} - -func (MachineExtensionInstanceViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceView)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewArgs) ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput { - return i.ToMachineExtensionInstanceViewOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewArgs) ToMachineExtensionInstanceViewOutputWithContext(ctx context.Context) MachineExtensionInstanceViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewOutput) -} - -// MachineExtensionInstanceViewArrayInput is an input type that accepts MachineExtensionInstanceViewArray and MachineExtensionInstanceViewArrayOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewArrayInput` via: -// -// MachineExtensionInstanceViewArray{ MachineExtensionInstanceViewArgs{...} } -type MachineExtensionInstanceViewArrayInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput - ToMachineExtensionInstanceViewArrayOutputWithContext(context.Context) MachineExtensionInstanceViewArrayOutput -} - -type MachineExtensionInstanceViewArray []MachineExtensionInstanceViewInput - -func (MachineExtensionInstanceViewArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MachineExtensionInstanceView)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewArray) ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput { - return i.ToMachineExtensionInstanceViewArrayOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewArray) ToMachineExtensionInstanceViewArrayOutputWithContext(ctx context.Context) MachineExtensionInstanceViewArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewArrayOutput) -} - -// Describes the Machine Extension Instance View. -type MachineExtensionInstanceViewOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceView)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewOutput) ToMachineExtensionInstanceViewOutput() MachineExtensionInstanceViewOutput { - return o -} - -func (o MachineExtensionInstanceViewOutput) ToMachineExtensionInstanceViewOutputWithContext(ctx context.Context) MachineExtensionInstanceViewOutput { - return o -} - -// The machine extension name. -func (o MachineExtensionInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionInstanceViewOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *MachineExtensionInstanceViewStatus { return v.Status }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) -} - -type MachineExtensionInstanceViewArrayOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MachineExtensionInstanceView)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewArrayOutput) ToMachineExtensionInstanceViewArrayOutput() MachineExtensionInstanceViewArrayOutput { - return o -} - -func (o MachineExtensionInstanceViewArrayOutput) ToMachineExtensionInstanceViewArrayOutputWithContext(ctx context.Context) MachineExtensionInstanceViewArrayOutput { - return o -} - -func (o MachineExtensionInstanceViewArrayOutput) Index(i pulumi.IntInput) MachineExtensionInstanceViewOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MachineExtensionInstanceView { - return vs[0].([]MachineExtensionInstanceView)[vs[1].(int)] - }).(MachineExtensionInstanceViewOutput) -} - // Describes the Machine Extension Instance View. type MachineExtensionInstanceViewResponse struct { // The machine extension name. - Name *string `pulumi:"name"` + Name string `pulumi:"name"` // Instance view status. Status *MachineExtensionInstanceViewResponseStatus `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` + Type string `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` + TypeHandlerVersion string `pulumi:"typeHandlerVersion"` } // MachineExtensionInstanceViewResponseInput is an input type that accepts MachineExtensionInstanceViewResponseArgs and MachineExtensionInstanceViewResponseOutput values. @@ -287,13 +160,13 @@ type MachineExtensionInstanceViewResponseInput interface { // Describes the Machine Extension Instance View. type MachineExtensionInstanceViewResponseArgs struct { // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` // Instance view status. Status MachineExtensionInstanceViewResponseStatusPtrInput `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` + Type pulumi.StringInput `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` + TypeHandlerVersion pulumi.StringInput `pulumi:"typeHandlerVersion"` } func (MachineExtensionInstanceViewResponseArgs) ElementType() reflect.Type { @@ -349,8 +222,8 @@ func (o MachineExtensionInstanceViewResponseOutput) ToMachineExtensionInstanceVi } // The machine extension name. -func (o MachineExtensionInstanceViewResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.Name }).(pulumi.StringOutput) } // Instance view status. @@ -361,13 +234,13 @@ func (o MachineExtensionInstanceViewResponseOutput) Status() MachineExtensionIns } // Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionInstanceViewResponseOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.Type }).(pulumi.StringOutput) } // Specifies the version of the script handler. -func (o MachineExtensionInstanceViewResponseOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponse) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseOutput) TypeHandlerVersion() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponse) string { return v.TypeHandlerVersion }).(pulumi.StringOutput) } type MachineExtensionInstanceViewResponseArrayOutput struct{ *pulumi.OutputState } @@ -393,15 +266,15 @@ func (o MachineExtensionInstanceViewResponseArrayOutput) Index(i pulumi.IntInput // Instance view status. type MachineExtensionInstanceViewResponseStatus struct { // The status code. - Code *string `pulumi:"code"` + Code string `pulumi:"code"` // The short localizable label for the status. - DisplayStatus *string `pulumi:"displayStatus"` + DisplayStatus string `pulumi:"displayStatus"` // The level code. - Level *string `pulumi:"level"` + Level string `pulumi:"level"` // The detailed status message, including for alerts and error messages. - Message *string `pulumi:"message"` + Message string `pulumi:"message"` // The time of the status. - Time *string `pulumi:"time"` + Time string `pulumi:"time"` } // MachineExtensionInstanceViewResponseStatusInput is an input type that accepts MachineExtensionInstanceViewResponseStatusArgs and MachineExtensionInstanceViewResponseStatusOutput values. @@ -418,15 +291,15 @@ type MachineExtensionInstanceViewResponseStatusInput interface { // Instance view status. type MachineExtensionInstanceViewResponseStatusArgs struct { // The status code. - Code pulumi.StringPtrInput `pulumi:"code"` + Code pulumi.StringInput `pulumi:"code"` // The short localizable label for the status. - DisplayStatus pulumi.StringPtrInput `pulumi:"displayStatus"` + DisplayStatus pulumi.StringInput `pulumi:"displayStatus"` // The level code. - Level pulumi.StringPtrInput `pulumi:"level"` + Level pulumi.StringInput `pulumi:"level"` // The detailed status message, including for alerts and error messages. - Message pulumi.StringPtrInput `pulumi:"message"` + Message pulumi.StringInput `pulumi:"message"` // The time of the status. - Time pulumi.StringPtrInput `pulumi:"time"` + Time pulumi.StringInput `pulumi:"time"` } func (MachineExtensionInstanceViewResponseStatusArgs) ElementType() reflect.Type { @@ -508,28 +381,28 @@ func (o MachineExtensionInstanceViewResponseStatusOutput) ToMachineExtensionInst } // The status code. -func (o MachineExtensionInstanceViewResponseStatusOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Code }).(pulumi.StringOutput) } // The short localizable label for the status. -func (o MachineExtensionInstanceViewResponseStatusOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.DisplayStatus }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) DisplayStatus() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.DisplayStatus }).(pulumi.StringOutput) } // The level code. -func (o MachineExtensionInstanceViewResponseStatusOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Level }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Level() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Level }).(pulumi.StringOutput) } // The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewResponseStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Message }).(pulumi.StringOutput) } // The time of the status. -func (o MachineExtensionInstanceViewResponseStatusOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) *string { return v.Time }).(pulumi.StringPtrOutput) +func (o MachineExtensionInstanceViewResponseStatusOutput) Time() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionInstanceViewResponseStatus) string { return v.Time }).(pulumi.StringOutput) } type MachineExtensionInstanceViewResponseStatusPtrOutput struct{ *pulumi.OutputState } @@ -558,7 +431,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Code() pulumi.Strin if v == nil { return nil } - return v.Code + return &v.Code }).(pulumi.StringPtrOutput) } @@ -568,7 +441,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) DisplayStatus() pul if v == nil { return nil } - return v.DisplayStatus + return &v.DisplayStatus }).(pulumi.StringPtrOutput) } @@ -578,7 +451,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Level() pulumi.Stri if v == nil { return nil } - return v.Level + return &v.Level }).(pulumi.StringPtrOutput) } @@ -588,7 +461,7 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Message() pulumi.St if v == nil { return nil } - return v.Message + return &v.Message }).(pulumi.StringPtrOutput) } @@ -598,421 +471,20 @@ func (o MachineExtensionInstanceViewResponseStatusPtrOutput) Time() pulumi.Strin if v == nil { return nil } - return v.Time - }).(pulumi.StringPtrOutput) -} - -// Instance view status. -type MachineExtensionInstanceViewStatus struct { - // The status code. - Code *string `pulumi:"code"` - // The short localizable label for the status. - DisplayStatus *string `pulumi:"displayStatus"` - // The level code. - Level *string `pulumi:"level"` - // The detailed status message, including for alerts and error messages. - Message *string `pulumi:"message"` - // The time of the status. - Time *string `pulumi:"time"` -} - -// MachineExtensionInstanceViewStatusInput is an input type that accepts MachineExtensionInstanceViewStatusArgs and MachineExtensionInstanceViewStatusOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewStatusInput` via: -// -// MachineExtensionInstanceViewStatusArgs{...} -type MachineExtensionInstanceViewStatusInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput - ToMachineExtensionInstanceViewStatusOutputWithContext(context.Context) MachineExtensionInstanceViewStatusOutput -} - -// Instance view status. -type MachineExtensionInstanceViewStatusArgs struct { - // The status code. - Code pulumi.StringPtrInput `pulumi:"code"` - // The short localizable label for the status. - DisplayStatus pulumi.StringPtrInput `pulumi:"displayStatus"` - // The level code. - Level pulumi.StringPtrInput `pulumi:"level"` - // The detailed status message, including for alerts and error messages. - Message pulumi.StringPtrInput `pulumi:"message"` - // The time of the status. - Time pulumi.StringPtrInput `pulumi:"time"` -} - -func (MachineExtensionInstanceViewStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput { - return i.ToMachineExtensionInstanceViewStatusOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusOutput) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return i.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (i MachineExtensionInstanceViewStatusArgs) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusOutput).ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx) -} - -// MachineExtensionInstanceViewStatusPtrInput is an input type that accepts MachineExtensionInstanceViewStatusArgs, MachineExtensionInstanceViewStatusPtr and MachineExtensionInstanceViewStatusPtrOutput values. -// You can construct a concrete instance of `MachineExtensionInstanceViewStatusPtrInput` via: -// -// MachineExtensionInstanceViewStatusArgs{...} -// -// or: -// -// nil -type MachineExtensionInstanceViewStatusPtrInput interface { - pulumi.Input - - ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput - ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Context) MachineExtensionInstanceViewStatusPtrOutput -} - -type machineExtensionInstanceViewStatusPtrType MachineExtensionInstanceViewStatusArgs - -func MachineExtensionInstanceViewStatusPtr(v *MachineExtensionInstanceViewStatusArgs) MachineExtensionInstanceViewStatusPtrInput { - return (*machineExtensionInstanceViewStatusPtrType)(v) -} - -func (*machineExtensionInstanceViewStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (i *machineExtensionInstanceViewStatusPtrType) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return i.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (i *machineExtensionInstanceViewStatusPtrType) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Instance view status. -type MachineExtensionInstanceViewStatusOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusOutput() MachineExtensionInstanceViewStatusOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return o.ToMachineExtensionInstanceViewStatusPtrOutputWithContext(context.Background()) -} - -func (o MachineExtensionInstanceViewStatusOutput) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *MachineExtensionInstanceViewStatus { - return &v - }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// The status code. -func (o MachineExtensionInstanceViewStatusOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Code }).(pulumi.StringPtrOutput) -} - -// The short localizable label for the status. -func (o MachineExtensionInstanceViewStatusOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.DisplayStatus }).(pulumi.StringPtrOutput) -} - -// The level code. -func (o MachineExtensionInstanceViewStatusOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Level }).(pulumi.StringPtrOutput) -} - -// The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Message }).(pulumi.StringPtrOutput) -} - -// The time of the status. -func (o MachineExtensionInstanceViewStatusOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionInstanceViewStatus) *string { return v.Time }).(pulumi.StringPtrOutput) -} - -type MachineExtensionInstanceViewStatusPtrOutput struct{ *pulumi.OutputState } - -func (MachineExtensionInstanceViewStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionInstanceViewStatus)(nil)).Elem() -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) ToMachineExtensionInstanceViewStatusPtrOutput() MachineExtensionInstanceViewStatusPtrOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) ToMachineExtensionInstanceViewStatusPtrOutputWithContext(ctx context.Context) MachineExtensionInstanceViewStatusPtrOutput { - return o -} - -func (o MachineExtensionInstanceViewStatusPtrOutput) Elem() MachineExtensionInstanceViewStatusOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) MachineExtensionInstanceViewStatus { return *v }).(MachineExtensionInstanceViewStatusOutput) -} - -// The status code. -func (o MachineExtensionInstanceViewStatusPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Code - }).(pulumi.StringPtrOutput) -} - -// The short localizable label for the status. -func (o MachineExtensionInstanceViewStatusPtrOutput) DisplayStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.DisplayStatus - }).(pulumi.StringPtrOutput) -} - -// The level code. -func (o MachineExtensionInstanceViewStatusPtrOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Level - }).(pulumi.StringPtrOutput) -} - -// The detailed status message, including for alerts and error messages. -func (o MachineExtensionInstanceViewStatusPtrOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Message - }).(pulumi.StringPtrOutput) -} - -// The time of the status. -func (o MachineExtensionInstanceViewStatusPtrOutput) Time() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionInstanceViewStatus) *string { - if v == nil { - return nil - } - return v.Time - }).(pulumi.StringPtrOutput) -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceView struct { - // The machine extension name. - Name *string `pulumi:"name"` - // Instance view status. - Status *MachineExtensionInstanceViewStatus `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` -} - -// MachineExtensionPropertiesInstanceViewInput is an input type that accepts MachineExtensionPropertiesInstanceViewArgs and MachineExtensionPropertiesInstanceViewOutput values. -// You can construct a concrete instance of `MachineExtensionPropertiesInstanceViewInput` via: -// -// MachineExtensionPropertiesInstanceViewArgs{...} -type MachineExtensionPropertiesInstanceViewInput interface { - pulumi.Input - - ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput - ToMachineExtensionPropertiesInstanceViewOutputWithContext(context.Context) MachineExtensionPropertiesInstanceViewOutput -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceViewArgs struct { - // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Instance view status. - Status MachineExtensionInstanceViewStatusPtrInput `pulumi:"status"` - // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` - // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` -} - -func (MachineExtensionPropertiesInstanceViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput { - return i.ToMachineExtensionPropertiesInstanceViewOutputWithContext(context.Background()) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewOutput) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return i.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (i MachineExtensionPropertiesInstanceViewArgs) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewOutput).ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx) -} - -// MachineExtensionPropertiesInstanceViewPtrInput is an input type that accepts MachineExtensionPropertiesInstanceViewArgs, MachineExtensionPropertiesInstanceViewPtr and MachineExtensionPropertiesInstanceViewPtrOutput values. -// You can construct a concrete instance of `MachineExtensionPropertiesInstanceViewPtrInput` via: -// -// MachineExtensionPropertiesInstanceViewArgs{...} -// -// or: -// -// nil -type MachineExtensionPropertiesInstanceViewPtrInput interface { - pulumi.Input - - ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput - ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Context) MachineExtensionPropertiesInstanceViewPtrOutput -} - -type machineExtensionPropertiesInstanceViewPtrType MachineExtensionPropertiesInstanceViewArgs - -func MachineExtensionPropertiesInstanceViewPtr(v *MachineExtensionPropertiesInstanceViewArgs) MachineExtensionPropertiesInstanceViewPtrInput { - return (*machineExtensionPropertiesInstanceViewPtrType)(v) -} - -func (*machineExtensionPropertiesInstanceViewPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (i *machineExtensionPropertiesInstanceViewPtrType) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return i.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (i *machineExtensionPropertiesInstanceViewPtrType) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineExtensionPropertiesInstanceViewPtrOutput) -} - -// The machine extension instance view. -type MachineExtensionPropertiesInstanceViewOutput struct{ *pulumi.OutputState } - -func (MachineExtensionPropertiesInstanceViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewOutput() MachineExtensionPropertiesInstanceViewOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return o.ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(context.Background()) -} - -func (o MachineExtensionPropertiesInstanceViewOutput) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *MachineExtensionPropertiesInstanceView { - return &v - }).(MachineExtensionPropertiesInstanceViewPtrOutput) -} - -// The machine extension name. -func (o MachineExtensionPropertiesInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionPropertiesInstanceViewOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *MachineExtensionInstanceViewStatus { return v.Status }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionPropertiesInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) -} - -type MachineExtensionPropertiesInstanceViewPtrOutput struct{ *pulumi.OutputState } - -func (MachineExtensionPropertiesInstanceViewPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineExtensionPropertiesInstanceView)(nil)).Elem() -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) ToMachineExtensionPropertiesInstanceViewPtrOutput() MachineExtensionPropertiesInstanceViewPtrOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) ToMachineExtensionPropertiesInstanceViewPtrOutputWithContext(ctx context.Context) MachineExtensionPropertiesInstanceViewPtrOutput { - return o -} - -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Elem() MachineExtensionPropertiesInstanceViewOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) MachineExtensionPropertiesInstanceView { return *v }).(MachineExtensionPropertiesInstanceViewOutput) -} - -// The machine extension name. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// Instance view status. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Status() MachineExtensionInstanceViewStatusPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *MachineExtensionInstanceViewStatus { - if v == nil { - return nil - } - return v.Status - }).(MachineExtensionInstanceViewStatusPtrOutput) -} - -// Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesInstanceViewPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -// Specifies the version of the script handler. -func (o MachineExtensionPropertiesInstanceViewPtrOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineExtensionPropertiesInstanceView) *string { - if v == nil { - return nil - } - return v.TypeHandlerVersion + return &v.Time }).(pulumi.StringPtrOutput) } // The machine extension instance view. type MachineExtensionPropertiesResponseInstanceView struct { // The machine extension name. - Name *string `pulumi:"name"` + Name string `pulumi:"name"` // Instance view status. Status *MachineExtensionInstanceViewResponseStatus `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type *string `pulumi:"type"` + Type string `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion *string `pulumi:"typeHandlerVersion"` + TypeHandlerVersion string `pulumi:"typeHandlerVersion"` } // MachineExtensionPropertiesResponseInstanceViewInput is an input type that accepts MachineExtensionPropertiesResponseInstanceViewArgs and MachineExtensionPropertiesResponseInstanceViewOutput values. @@ -1029,13 +501,13 @@ type MachineExtensionPropertiesResponseInstanceViewInput interface { // The machine extension instance view. type MachineExtensionPropertiesResponseInstanceViewArgs struct { // The machine extension name. - Name pulumi.StringPtrInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` // Instance view status. Status MachineExtensionInstanceViewResponseStatusPtrInput `pulumi:"status"` // Specifies the type of the extension; an example is "CustomScriptExtension". - Type pulumi.StringPtrInput `pulumi:"type"` + Type pulumi.StringInput `pulumi:"type"` // Specifies the version of the script handler. - TypeHandlerVersion pulumi.StringPtrInput `pulumi:"typeHandlerVersion"` + TypeHandlerVersion pulumi.StringInput `pulumi:"typeHandlerVersion"` } func (MachineExtensionPropertiesResponseInstanceViewArgs) ElementType() reflect.Type { @@ -1117,8 +589,8 @@ func (o MachineExtensionPropertiesResponseInstanceViewOutput) ToMachineExtension } // The machine extension name. -func (o MachineExtensionPropertiesResponseInstanceViewOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.Name }).(pulumi.StringOutput) } // Instance view status. @@ -1129,13 +601,13 @@ func (o MachineExtensionPropertiesResponseInstanceViewOutput) Status() MachineEx } // Specifies the type of the extension; an example is "CustomScriptExtension". -func (o MachineExtensionPropertiesResponseInstanceViewOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.Type }).(pulumi.StringOutput) } // Specifies the version of the script handler. -func (o MachineExtensionPropertiesResponseInstanceViewOutput) TypeHandlerVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) *string { return v.TypeHandlerVersion }).(pulumi.StringPtrOutput) +func (o MachineExtensionPropertiesResponseInstanceViewOutput) TypeHandlerVersion() pulumi.StringOutput { + return o.ApplyT(func(v MachineExtensionPropertiesResponseInstanceView) string { return v.TypeHandlerVersion }).(pulumi.StringOutput) } type MachineExtensionPropertiesResponseInstanceViewPtrOutput struct{ *pulumi.OutputState } @@ -1164,7 +636,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) Name() pulumi.S if v == nil { return nil } - return v.Name + return &v.Name }).(pulumi.StringPtrOutput) } @@ -1184,7 +656,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) Type() pulumi.S if v == nil { return nil } - return v.Type + return &v.Type }).(pulumi.StringPtrOutput) } @@ -1194,7 +666,7 @@ func (o MachineExtensionPropertiesResponseInstanceViewPtrOutput) TypeHandlerVers if v == nil { return nil } - return v.TypeHandlerVersion + return &v.TypeHandlerVersion }).(pulumi.StringPtrOutput) } @@ -2017,16 +1489,10 @@ func (o LocationDataResponsePtrOutput) Name() pulumi.StringPtrOutput { func init() { pulumi.RegisterOutputType(ErrorDetailResponseOutput{}) pulumi.RegisterOutputType(ErrorDetailResponseArrayOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewArrayOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseArrayOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseStatusOutput{}) pulumi.RegisterOutputType(MachineExtensionInstanceViewResponseStatusPtrOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewStatusOutput{}) - pulumi.RegisterOutputType(MachineExtensionInstanceViewStatusPtrOutput{}) - pulumi.RegisterOutputType(MachineExtensionPropertiesInstanceViewOutput{}) - pulumi.RegisterOutputType(MachineExtensionPropertiesInstanceViewPtrOutput{}) pulumi.RegisterOutputType(MachineExtensionPropertiesResponseInstanceViewOutput{}) pulumi.RegisterOutputType(MachineExtensionPropertiesResponseInstanceViewPtrOutput{}) pulumi.RegisterOutputType(MachineIdentityOutput{}) diff --git a/sdk/go/azurerm/machinelearningservices/v20200901preview/pulumiTypes.go b/sdk/go/azurerm/machinelearningservices/v20200901preview/pulumiTypes.go index f139b41a25d9..ea73fc979d69 100644 --- a/sdk/go/azurerm/machinelearningservices/v20200901preview/pulumiTypes.go +++ b/sdk/go/azurerm/machinelearningservices/v20200901preview/pulumiTypes.go @@ -3016,8 +3016,14 @@ func (o KeyVaultPropertiesResponsePtrOutput) KeyVaultArmId() pulumi.StringPtrOut // LinkedService specific properties. type LinkedServiceProps struct { + // The creation time of the linked service. + CreatedTime *string `pulumi:"createdTime"` + // Type of the link target. + LinkType *string `pulumi:"linkType"` // ResourceId of the link target of the linked service. - LinkedServiceResourceId *string `pulumi:"linkedServiceResourceId"` + LinkedServiceResourceId string `pulumi:"linkedServiceResourceId"` + // The last modified time of the linked service. + ModifiedTime *string `pulumi:"modifiedTime"` } // LinkedServicePropsInput is an input type that accepts LinkedServicePropsArgs and LinkedServicePropsOutput values. @@ -3033,8 +3039,14 @@ type LinkedServicePropsInput interface { // LinkedService specific properties. type LinkedServicePropsArgs struct { + // The creation time of the linked service. + CreatedTime pulumi.StringPtrInput `pulumi:"createdTime"` + // Type of the link target. + LinkType pulumi.StringPtrInput `pulumi:"linkType"` // ResourceId of the link target of the linked service. - LinkedServiceResourceId pulumi.StringPtrInput `pulumi:"linkedServiceResourceId"` + LinkedServiceResourceId pulumi.StringInput `pulumi:"linkedServiceResourceId"` + // The last modified time of the linked service. + ModifiedTime pulumi.StringPtrInput `pulumi:"modifiedTime"` } func (LinkedServicePropsArgs) ElementType() reflect.Type { @@ -3115,9 +3127,24 @@ func (o LinkedServicePropsOutput) ToLinkedServicePropsPtrOutputWithContext(ctx c }).(LinkedServicePropsPtrOutput) } +// The creation time of the linked service. +func (o LinkedServicePropsOutput) CreatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServiceProps) *string { return v.CreatedTime }).(pulumi.StringPtrOutput) +} + +// Type of the link target. +func (o LinkedServicePropsOutput) LinkType() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServiceProps) *string { return v.LinkType }).(pulumi.StringPtrOutput) +} + // ResourceId of the link target of the linked service. -func (o LinkedServicePropsOutput) LinkedServiceResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LinkedServiceProps) *string { return v.LinkedServiceResourceId }).(pulumi.StringPtrOutput) +func (o LinkedServicePropsOutput) LinkedServiceResourceId() pulumi.StringOutput { + return o.ApplyT(func(v LinkedServiceProps) string { return v.LinkedServiceResourceId }).(pulumi.StringOutput) +} + +// The last modified time of the linked service. +func (o LinkedServicePropsOutput) ModifiedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServiceProps) *string { return v.ModifiedTime }).(pulumi.StringPtrOutput) } type LinkedServicePropsPtrOutput struct{ *pulumi.OutputState } @@ -3138,20 +3165,56 @@ func (o LinkedServicePropsPtrOutput) Elem() LinkedServicePropsOutput { return o.ApplyT(func(v *LinkedServiceProps) LinkedServiceProps { return *v }).(LinkedServicePropsOutput) } +// The creation time of the linked service. +func (o LinkedServicePropsPtrOutput) CreatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServiceProps) *string { + if v == nil { + return nil + } + return v.CreatedTime + }).(pulumi.StringPtrOutput) +} + +// Type of the link target. +func (o LinkedServicePropsPtrOutput) LinkType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServiceProps) *string { + if v == nil { + return nil + } + return v.LinkType + }).(pulumi.StringPtrOutput) +} + // ResourceId of the link target of the linked service. func (o LinkedServicePropsPtrOutput) LinkedServiceResourceId() pulumi.StringPtrOutput { return o.ApplyT(func(v *LinkedServiceProps) *string { if v == nil { return nil } - return v.LinkedServiceResourceId + return &v.LinkedServiceResourceId + }).(pulumi.StringPtrOutput) +} + +// The last modified time of the linked service. +func (o LinkedServicePropsPtrOutput) ModifiedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServiceProps) *string { + if v == nil { + return nil + } + return v.ModifiedTime }).(pulumi.StringPtrOutput) } // LinkedService specific properties. type LinkedServicePropsResponse struct { + // The creation time of the linked service. + CreatedTime *string `pulumi:"createdTime"` + // Type of the link target. + LinkType *string `pulumi:"linkType"` // ResourceId of the link target of the linked service. - LinkedServiceResourceId *string `pulumi:"linkedServiceResourceId"` + LinkedServiceResourceId string `pulumi:"linkedServiceResourceId"` + // The last modified time of the linked service. + ModifiedTime *string `pulumi:"modifiedTime"` } // LinkedServicePropsResponseInput is an input type that accepts LinkedServicePropsResponseArgs and LinkedServicePropsResponseOutput values. @@ -3167,8 +3230,14 @@ type LinkedServicePropsResponseInput interface { // LinkedService specific properties. type LinkedServicePropsResponseArgs struct { + // The creation time of the linked service. + CreatedTime pulumi.StringPtrInput `pulumi:"createdTime"` + // Type of the link target. + LinkType pulumi.StringPtrInput `pulumi:"linkType"` // ResourceId of the link target of the linked service. - LinkedServiceResourceId pulumi.StringPtrInput `pulumi:"linkedServiceResourceId"` + LinkedServiceResourceId pulumi.StringInput `pulumi:"linkedServiceResourceId"` + // The last modified time of the linked service. + ModifiedTime pulumi.StringPtrInput `pulumi:"modifiedTime"` } func (LinkedServicePropsResponseArgs) ElementType() reflect.Type { @@ -3249,9 +3318,24 @@ func (o LinkedServicePropsResponseOutput) ToLinkedServicePropsResponsePtrOutputW }).(LinkedServicePropsResponsePtrOutput) } +// The creation time of the linked service. +func (o LinkedServicePropsResponseOutput) CreatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServicePropsResponse) *string { return v.CreatedTime }).(pulumi.StringPtrOutput) +} + +// Type of the link target. +func (o LinkedServicePropsResponseOutput) LinkType() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServicePropsResponse) *string { return v.LinkType }).(pulumi.StringPtrOutput) +} + // ResourceId of the link target of the linked service. -func (o LinkedServicePropsResponseOutput) LinkedServiceResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LinkedServicePropsResponse) *string { return v.LinkedServiceResourceId }).(pulumi.StringPtrOutput) +func (o LinkedServicePropsResponseOutput) LinkedServiceResourceId() pulumi.StringOutput { + return o.ApplyT(func(v LinkedServicePropsResponse) string { return v.LinkedServiceResourceId }).(pulumi.StringOutput) +} + +// The last modified time of the linked service. +func (o LinkedServicePropsResponseOutput) ModifiedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v LinkedServicePropsResponse) *string { return v.ModifiedTime }).(pulumi.StringPtrOutput) } type LinkedServicePropsResponsePtrOutput struct{ *pulumi.OutputState } @@ -3272,13 +3356,43 @@ func (o LinkedServicePropsResponsePtrOutput) Elem() LinkedServicePropsResponseOu return o.ApplyT(func(v *LinkedServicePropsResponse) LinkedServicePropsResponse { return *v }).(LinkedServicePropsResponseOutput) } +// The creation time of the linked service. +func (o LinkedServicePropsResponsePtrOutput) CreatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServicePropsResponse) *string { + if v == nil { + return nil + } + return v.CreatedTime + }).(pulumi.StringPtrOutput) +} + +// Type of the link target. +func (o LinkedServicePropsResponsePtrOutput) LinkType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServicePropsResponse) *string { + if v == nil { + return nil + } + return v.LinkType + }).(pulumi.StringPtrOutput) +} + // ResourceId of the link target of the linked service. func (o LinkedServicePropsResponsePtrOutput) LinkedServiceResourceId() pulumi.StringPtrOutput { return o.ApplyT(func(v *LinkedServicePropsResponse) *string { if v == nil { return nil } - return v.LinkedServiceResourceId + return &v.LinkedServiceResourceId + }).(pulumi.StringPtrOutput) +} + +// The last modified time of the linked service. +func (o LinkedServicePropsResponsePtrOutput) ModifiedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LinkedServicePropsResponse) *string { + if v == nil { + return nil + } + return v.ModifiedTime }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/azurerm/search/latest/getService.go b/sdk/go/azurerm/search/latest/getService.go index 1a4871cf4791..f2412107d04a 100644 --- a/sdk/go/azurerm/search/latest/getService.go +++ b/sdk/go/azurerm/search/latest/getService.go @@ -35,23 +35,23 @@ type LookupServiceResult struct { Name string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` diff --git a/sdk/go/azurerm/search/latest/listAdminKey.go b/sdk/go/azurerm/search/latest/listAdminKey.go index f3a0f2b6846f..31817a5094fd 100644 --- a/sdk/go/azurerm/search/latest/listAdminKey.go +++ b/sdk/go/azurerm/search/latest/listAdminKey.go @@ -25,8 +25,8 @@ type ListAdminKeyArgs struct { // Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service. type ListAdminKeyResult struct { - // The primary admin API key of the Search service. + // The primary admin API key of the search service. PrimaryKey string `pulumi:"primaryKey"` - // The secondary admin API key of the Search service. + // The secondary admin API key of the search service. SecondaryKey string `pulumi:"secondaryKey"` } diff --git a/sdk/go/azurerm/search/latest/pulumiTypes.go b/sdk/go/azurerm/search/latest/pulumiTypes.go index 1ff8421cd329..06d21f47faf1 100644 --- a/sdk/go/azurerm/search/latest/pulumiTypes.go +++ b/sdk/go/azurerm/search/latest/pulumiTypes.go @@ -2559,7 +2559,7 @@ func (o SharedPrivateLinkResourceResponseArrayOutput) Index(i pulumi.IntInput) S // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type Sku struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2576,7 +2576,7 @@ type SkuInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2658,7 +2658,7 @@ func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { }).(SkuPtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2681,7 +2681,7 @@ func (o SkuPtrOutput) Elem() SkuOutput { return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *Sku) *string { if v == nil { @@ -2693,7 +2693,7 @@ func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponse struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2710,7 +2710,7 @@ type SkuResponseInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponseArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2792,7 +2792,7 @@ func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context }).(SkuResponsePtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2815,7 +2815,7 @@ func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *SkuResponse) *string { if v == nil { diff --git a/sdk/go/azurerm/search/latest/service.go b/sdk/go/azurerm/search/latest/service.go index cdff1ba69b0e..cedd434320e8 100644 --- a/sdk/go/azurerm/search/latest/service.go +++ b/sdk/go/azurerm/search/latest/service.go @@ -24,23 +24,23 @@ type Service struct { Name pulumi.StringOutput `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrOutput `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrOutput `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayOutput `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrOutput `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayOutput `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrOutput `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringOutput `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringOutput `pulumi:"statusDetails"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` @@ -113,23 +113,23 @@ type serviceState struct { Name *string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState *string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status *string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails *string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` @@ -148,23 +148,23 @@ type ServiceState struct { Name pulumi.StringPtrInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayInput // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrInput - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringPtrInput - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput @@ -185,11 +185,11 @@ type serviceArgs struct { Location string `pulumi:"location"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSet `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` @@ -211,11 +211,11 @@ type ServiceArgs struct { Location pulumi.StringInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetPtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput diff --git a/sdk/go/azurerm/search/v20200801/getService.go b/sdk/go/azurerm/search/v20200801/getService.go index ff34f3e46927..0cbfa443fe9b 100644 --- a/sdk/go/azurerm/search/v20200801/getService.go +++ b/sdk/go/azurerm/search/v20200801/getService.go @@ -35,23 +35,23 @@ type LookupServiceResult struct { Name string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` diff --git a/sdk/go/azurerm/search/v20200801/listAdminKey.go b/sdk/go/azurerm/search/v20200801/listAdminKey.go index af0ba9d46f69..415c898a25c4 100644 --- a/sdk/go/azurerm/search/v20200801/listAdminKey.go +++ b/sdk/go/azurerm/search/v20200801/listAdminKey.go @@ -25,8 +25,8 @@ type ListAdminKeyArgs struct { // Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service. type ListAdminKeyResult struct { - // The primary admin API key of the Search service. + // The primary admin API key of the search service. PrimaryKey string `pulumi:"primaryKey"` - // The secondary admin API key of the Search service. + // The secondary admin API key of the search service. SecondaryKey string `pulumi:"secondaryKey"` } diff --git a/sdk/go/azurerm/search/v20200801/pulumiTypes.go b/sdk/go/azurerm/search/v20200801/pulumiTypes.go index 209923967b84..ddc3506b8021 100644 --- a/sdk/go/azurerm/search/v20200801/pulumiTypes.go +++ b/sdk/go/azurerm/search/v20200801/pulumiTypes.go @@ -2559,7 +2559,7 @@ func (o SharedPrivateLinkResourceResponseArrayOutput) Index(i pulumi.IntInput) S // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type Sku struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2576,7 +2576,7 @@ type SkuInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2658,7 +2658,7 @@ func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { }).(SkuPtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2681,7 +2681,7 @@ func (o SkuPtrOutput) Elem() SkuOutput { return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *Sku) *string { if v == nil { @@ -2693,7 +2693,7 @@ func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponse struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2710,7 +2710,7 @@ type SkuResponseInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponseArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2792,7 +2792,7 @@ func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context }).(SkuResponsePtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2815,7 +2815,7 @@ func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *SkuResponse) *string { if v == nil { diff --git a/sdk/go/azurerm/search/v20200801/service.go b/sdk/go/azurerm/search/v20200801/service.go index 5314b8aa90ba..732ae8af10b1 100644 --- a/sdk/go/azurerm/search/v20200801/service.go +++ b/sdk/go/azurerm/search/v20200801/service.go @@ -24,23 +24,23 @@ type Service struct { Name pulumi.StringOutput `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrOutput `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrOutput `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayOutput `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrOutput `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayOutput `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrOutput `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringOutput `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringOutput `pulumi:"statusDetails"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` @@ -113,23 +113,23 @@ type serviceState struct { Name *string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState *string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status *string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails *string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` @@ -148,23 +148,23 @@ type ServiceState struct { Name pulumi.StringPtrInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayInput // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrInput - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringPtrInput - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput @@ -185,11 +185,11 @@ type serviceArgs struct { Location string `pulumi:"location"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSet `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` @@ -211,11 +211,11 @@ type ServiceArgs struct { Location pulumi.StringInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetPtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput diff --git a/sdk/go/azurerm/search/v20200801preview/getService.go b/sdk/go/azurerm/search/v20200801preview/getService.go index 39dc7de2e2d4..3b2cb8e82220 100644 --- a/sdk/go/azurerm/search/v20200801preview/getService.go +++ b/sdk/go/azurerm/search/v20200801preview/getService.go @@ -35,23 +35,23 @@ type LookupServiceResult struct { Name string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` diff --git a/sdk/go/azurerm/search/v20200801preview/listAdminKey.go b/sdk/go/azurerm/search/v20200801preview/listAdminKey.go index 6d226597cb6d..7514b0d33872 100644 --- a/sdk/go/azurerm/search/v20200801preview/listAdminKey.go +++ b/sdk/go/azurerm/search/v20200801preview/listAdminKey.go @@ -25,8 +25,8 @@ type ListAdminKeyArgs struct { // Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service. type ListAdminKeyResult struct { - // The primary admin API key of the Search service. + // The primary admin API key of the search service. PrimaryKey string `pulumi:"primaryKey"` - // The secondary admin API key of the Search service. + // The secondary admin API key of the search service. SecondaryKey string `pulumi:"secondaryKey"` } diff --git a/sdk/go/azurerm/search/v20200801preview/pulumiTypes.go b/sdk/go/azurerm/search/v20200801preview/pulumiTypes.go index 1b0ec5432cbf..a3a4fcb8b873 100644 --- a/sdk/go/azurerm/search/v20200801preview/pulumiTypes.go +++ b/sdk/go/azurerm/search/v20200801preview/pulumiTypes.go @@ -2559,7 +2559,7 @@ func (o SharedPrivateLinkResourceResponseArrayOutput) Index(i pulumi.IntInput) S // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type Sku struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2576,7 +2576,7 @@ type SkuInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2658,7 +2658,7 @@ func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { }).(SkuPtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2681,7 +2681,7 @@ func (o SkuPtrOutput) Elem() SkuOutput { return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *Sku) *string { if v == nil { @@ -2693,7 +2693,7 @@ func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponse struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name *string `pulumi:"name"` } @@ -2710,7 +2710,7 @@ type SkuResponseInput interface { // Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. type SkuResponseArgs struct { - // The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + // The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' Name pulumi.StringPtrInput `pulumi:"name"` } @@ -2792,7 +2792,7 @@ func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context }).(SkuResponsePtrOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -2815,7 +2815,7 @@ func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) } -// The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' +// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *SkuResponse) *string { if v == nil { diff --git a/sdk/go/azurerm/search/v20200801preview/service.go b/sdk/go/azurerm/search/v20200801preview/service.go index 606c19eb9f43..5351eb9c6b51 100644 --- a/sdk/go/azurerm/search/v20200801preview/service.go +++ b/sdk/go/azurerm/search/v20200801preview/service.go @@ -24,23 +24,23 @@ type Service struct { Name pulumi.StringOutput `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrOutput `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrOutput `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayOutput `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrOutput `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayOutput `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrOutput `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringOutput `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringOutput `pulumi:"statusDetails"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` @@ -113,23 +113,23 @@ type serviceState struct { Name *string `pulumi:"name"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSetResponse `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState *string `pulumi:"provisioningState"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku *SkuResponse `pulumi:"sku"` - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status *string `pulumi:"status"` - // The details of the Search service status. + // The details of the search service status. StatusDetails *string `pulumi:"statusDetails"` // Resource tags. Tags map[string]string `pulumi:"tags"` @@ -148,23 +148,23 @@ type ServiceState struct { Name pulumi.StringPtrInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetResponsePtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // The list of private endpoint connections to the Azure Cognitive Search service. PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput - // The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + // The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. ProvisioningState pulumi.StringPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The list of shared private link resources managed by the Azure Cognitive Search service. SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayInput // The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. Sku SkuResponsePtrInput - // The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + // The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Status pulumi.StringPtrInput - // The details of the Search service status. + // The details of the search service status. StatusDetails pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput @@ -185,11 +185,11 @@ type serviceArgs struct { Location string `pulumi:"location"` // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet *NetworkRuleSet `pulumi:"networkRuleSet"` - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount *int `pulumi:"partitionCount"` // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount *int `pulumi:"replicaCount"` // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` @@ -211,11 +211,11 @@ type ServiceArgs struct { Location pulumi.StringInput // Network specific rules that determine how the Azure Cognitive Search service may be reached. NetworkRuleSet NetworkRuleSetPtrInput - // The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + // The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. PartitionCount pulumi.IntPtrInput // This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. PublicNetworkAccess pulumi.StringPtrInput - // The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + // The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. ReplicaCount pulumi.IntPtrInput // The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput diff --git a/sdk/go/azurerm/securityinsights/v20190101preview/getThreatIntelligenceIndicator.go b/sdk/go/azurerm/securityinsights/v20190101preview/getThreatIntelligenceIndicator.go new file mode 100644 index 000000000000..94c8d88b3e73 --- /dev/null +++ b/sdk/go/azurerm/securityinsights/v20190101preview/getThreatIntelligenceIndicator.go @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20190101preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupThreatIntelligenceIndicator(ctx *pulumi.Context, args *LookupThreatIntelligenceIndicatorArgs, opts ...pulumi.InvokeOption) (*LookupThreatIntelligenceIndicatorResult, error) { + var rv LookupThreatIntelligenceIndicatorResult + err := ctx.Invoke("azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupThreatIntelligenceIndicatorArgs struct { + // Threat Intelligence Identifier + Name string `pulumi:"name"` + // The namespace of workspaces resource provider- Microsoft.OperationalInsights. + OperationalInsightsResourceProvider string `pulumi:"operationalInsightsResourceProvider"` + // The name of the resource group within the user's subscription. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the workspace. + WorkspaceName string `pulumi:"workspaceName"` +} + +// Threat intelligence resource. +type LookupThreatIntelligenceIndicatorResult struct { + // Etag of the azure resource + Etag *string `pulumi:"etag"` + // The kind of the entity. + Kind string `pulumi:"kind"` + // Azure resource name + Name string `pulumi:"name"` + // Azure resource type + Type string `pulumi:"type"` +} diff --git a/sdk/go/azurerm/securityinsights/v20190101preview/pulumiTypes.go b/sdk/go/azurerm/securityinsights/v20190101preview/pulumiTypes.go index 7f0a92d6e897..77dc1f068a0b 100644 --- a/sdk/go/azurerm/securityinsights/v20190101preview/pulumiTypes.go +++ b/sdk/go/azurerm/securityinsights/v20190101preview/pulumiTypes.go @@ -1365,6 +1365,233 @@ func (o RelationNodePtrOutput) RelationNodeId() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// Describes threat granular marking model entity +type ThreatIntelligenceGranularMarkingModel struct { + // Language granular marking model + Language *string `pulumi:"language"` + // marking reference granular marking model + MarkingRef *int `pulumi:"markingRef"` + // granular marking model selectors + Selectors []string `pulumi:"selectors"` +} + +// ThreatIntelligenceGranularMarkingModelInput is an input type that accepts ThreatIntelligenceGranularMarkingModelArgs and ThreatIntelligenceGranularMarkingModelOutput values. +// You can construct a concrete instance of `ThreatIntelligenceGranularMarkingModelInput` via: +// +// ThreatIntelligenceGranularMarkingModelArgs{...} +type ThreatIntelligenceGranularMarkingModelInput interface { + pulumi.Input + + ToThreatIntelligenceGranularMarkingModelOutput() ThreatIntelligenceGranularMarkingModelOutput + ToThreatIntelligenceGranularMarkingModelOutputWithContext(context.Context) ThreatIntelligenceGranularMarkingModelOutput +} + +// Describes threat granular marking model entity +type ThreatIntelligenceGranularMarkingModelArgs struct { + // Language granular marking model + Language pulumi.StringPtrInput `pulumi:"language"` + // marking reference granular marking model + MarkingRef pulumi.IntPtrInput `pulumi:"markingRef"` + // granular marking model selectors + Selectors pulumi.StringArrayInput `pulumi:"selectors"` +} + +func (ThreatIntelligenceGranularMarkingModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ThreatIntelligenceGranularMarkingModel)(nil)).Elem() +} + +func (i ThreatIntelligenceGranularMarkingModelArgs) ToThreatIntelligenceGranularMarkingModelOutput() ThreatIntelligenceGranularMarkingModelOutput { + return i.ToThreatIntelligenceGranularMarkingModelOutputWithContext(context.Background()) +} + +func (i ThreatIntelligenceGranularMarkingModelArgs) ToThreatIntelligenceGranularMarkingModelOutputWithContext(ctx context.Context) ThreatIntelligenceGranularMarkingModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(ThreatIntelligenceGranularMarkingModelOutput) +} + +// ThreatIntelligenceGranularMarkingModelArrayInput is an input type that accepts ThreatIntelligenceGranularMarkingModelArray and ThreatIntelligenceGranularMarkingModelArrayOutput values. +// You can construct a concrete instance of `ThreatIntelligenceGranularMarkingModelArrayInput` via: +// +// ThreatIntelligenceGranularMarkingModelArray{ ThreatIntelligenceGranularMarkingModelArgs{...} } +type ThreatIntelligenceGranularMarkingModelArrayInput interface { + pulumi.Input + + ToThreatIntelligenceGranularMarkingModelArrayOutput() ThreatIntelligenceGranularMarkingModelArrayOutput + ToThreatIntelligenceGranularMarkingModelArrayOutputWithContext(context.Context) ThreatIntelligenceGranularMarkingModelArrayOutput +} + +type ThreatIntelligenceGranularMarkingModelArray []ThreatIntelligenceGranularMarkingModelInput + +func (ThreatIntelligenceGranularMarkingModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ThreatIntelligenceGranularMarkingModel)(nil)).Elem() +} + +func (i ThreatIntelligenceGranularMarkingModelArray) ToThreatIntelligenceGranularMarkingModelArrayOutput() ThreatIntelligenceGranularMarkingModelArrayOutput { + return i.ToThreatIntelligenceGranularMarkingModelArrayOutputWithContext(context.Background()) +} + +func (i ThreatIntelligenceGranularMarkingModelArray) ToThreatIntelligenceGranularMarkingModelArrayOutputWithContext(ctx context.Context) ThreatIntelligenceGranularMarkingModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ThreatIntelligenceGranularMarkingModelArrayOutput) +} + +// Describes threat granular marking model entity +type ThreatIntelligenceGranularMarkingModelOutput struct{ *pulumi.OutputState } + +func (ThreatIntelligenceGranularMarkingModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ThreatIntelligenceGranularMarkingModel)(nil)).Elem() +} + +func (o ThreatIntelligenceGranularMarkingModelOutput) ToThreatIntelligenceGranularMarkingModelOutput() ThreatIntelligenceGranularMarkingModelOutput { + return o +} + +func (o ThreatIntelligenceGranularMarkingModelOutput) ToThreatIntelligenceGranularMarkingModelOutputWithContext(ctx context.Context) ThreatIntelligenceGranularMarkingModelOutput { + return o +} + +// Language granular marking model +func (o ThreatIntelligenceGranularMarkingModelOutput) Language() pulumi.StringPtrOutput { + return o.ApplyT(func(v ThreatIntelligenceGranularMarkingModel) *string { return v.Language }).(pulumi.StringPtrOutput) +} + +// marking reference granular marking model +func (o ThreatIntelligenceGranularMarkingModelOutput) MarkingRef() pulumi.IntPtrOutput { + return o.ApplyT(func(v ThreatIntelligenceGranularMarkingModel) *int { return v.MarkingRef }).(pulumi.IntPtrOutput) +} + +// granular marking model selectors +func (o ThreatIntelligenceGranularMarkingModelOutput) Selectors() pulumi.StringArrayOutput { + return o.ApplyT(func(v ThreatIntelligenceGranularMarkingModel) []string { return v.Selectors }).(pulumi.StringArrayOutput) +} + +type ThreatIntelligenceGranularMarkingModelArrayOutput struct{ *pulumi.OutputState } + +func (ThreatIntelligenceGranularMarkingModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ThreatIntelligenceGranularMarkingModel)(nil)).Elem() +} + +func (o ThreatIntelligenceGranularMarkingModelArrayOutput) ToThreatIntelligenceGranularMarkingModelArrayOutput() ThreatIntelligenceGranularMarkingModelArrayOutput { + return o +} + +func (o ThreatIntelligenceGranularMarkingModelArrayOutput) ToThreatIntelligenceGranularMarkingModelArrayOutputWithContext(ctx context.Context) ThreatIntelligenceGranularMarkingModelArrayOutput { + return o +} + +func (o ThreatIntelligenceGranularMarkingModelArrayOutput) Index(i pulumi.IntInput) ThreatIntelligenceGranularMarkingModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ThreatIntelligenceGranularMarkingModel { + return vs[0].([]ThreatIntelligenceGranularMarkingModel)[vs[1].(int)] + }).(ThreatIntelligenceGranularMarkingModelOutput) +} + +// Describes threat kill chain phase entity +type ThreatIntelligenceKillChainPhase struct { + // Kill chainName name + KillChainName *string `pulumi:"killChainName"` + // Phase name + PhaseName *int `pulumi:"phaseName"` +} + +// ThreatIntelligenceKillChainPhaseInput is an input type that accepts ThreatIntelligenceKillChainPhaseArgs and ThreatIntelligenceKillChainPhaseOutput values. +// You can construct a concrete instance of `ThreatIntelligenceKillChainPhaseInput` via: +// +// ThreatIntelligenceKillChainPhaseArgs{...} +type ThreatIntelligenceKillChainPhaseInput interface { + pulumi.Input + + ToThreatIntelligenceKillChainPhaseOutput() ThreatIntelligenceKillChainPhaseOutput + ToThreatIntelligenceKillChainPhaseOutputWithContext(context.Context) ThreatIntelligenceKillChainPhaseOutput +} + +// Describes threat kill chain phase entity +type ThreatIntelligenceKillChainPhaseArgs struct { + // Kill chainName name + KillChainName pulumi.StringPtrInput `pulumi:"killChainName"` + // Phase name + PhaseName pulumi.IntPtrInput `pulumi:"phaseName"` +} + +func (ThreatIntelligenceKillChainPhaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ThreatIntelligenceKillChainPhase)(nil)).Elem() +} + +func (i ThreatIntelligenceKillChainPhaseArgs) ToThreatIntelligenceKillChainPhaseOutput() ThreatIntelligenceKillChainPhaseOutput { + return i.ToThreatIntelligenceKillChainPhaseOutputWithContext(context.Background()) +} + +func (i ThreatIntelligenceKillChainPhaseArgs) ToThreatIntelligenceKillChainPhaseOutputWithContext(ctx context.Context) ThreatIntelligenceKillChainPhaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ThreatIntelligenceKillChainPhaseOutput) +} + +// ThreatIntelligenceKillChainPhaseArrayInput is an input type that accepts ThreatIntelligenceKillChainPhaseArray and ThreatIntelligenceKillChainPhaseArrayOutput values. +// You can construct a concrete instance of `ThreatIntelligenceKillChainPhaseArrayInput` via: +// +// ThreatIntelligenceKillChainPhaseArray{ ThreatIntelligenceKillChainPhaseArgs{...} } +type ThreatIntelligenceKillChainPhaseArrayInput interface { + pulumi.Input + + ToThreatIntelligenceKillChainPhaseArrayOutput() ThreatIntelligenceKillChainPhaseArrayOutput + ToThreatIntelligenceKillChainPhaseArrayOutputWithContext(context.Context) ThreatIntelligenceKillChainPhaseArrayOutput +} + +type ThreatIntelligenceKillChainPhaseArray []ThreatIntelligenceKillChainPhaseInput + +func (ThreatIntelligenceKillChainPhaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ThreatIntelligenceKillChainPhase)(nil)).Elem() +} + +func (i ThreatIntelligenceKillChainPhaseArray) ToThreatIntelligenceKillChainPhaseArrayOutput() ThreatIntelligenceKillChainPhaseArrayOutput { + return i.ToThreatIntelligenceKillChainPhaseArrayOutputWithContext(context.Background()) +} + +func (i ThreatIntelligenceKillChainPhaseArray) ToThreatIntelligenceKillChainPhaseArrayOutputWithContext(ctx context.Context) ThreatIntelligenceKillChainPhaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ThreatIntelligenceKillChainPhaseArrayOutput) +} + +// Describes threat kill chain phase entity +type ThreatIntelligenceKillChainPhaseOutput struct{ *pulumi.OutputState } + +func (ThreatIntelligenceKillChainPhaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ThreatIntelligenceKillChainPhase)(nil)).Elem() +} + +func (o ThreatIntelligenceKillChainPhaseOutput) ToThreatIntelligenceKillChainPhaseOutput() ThreatIntelligenceKillChainPhaseOutput { + return o +} + +func (o ThreatIntelligenceKillChainPhaseOutput) ToThreatIntelligenceKillChainPhaseOutputWithContext(ctx context.Context) ThreatIntelligenceKillChainPhaseOutput { + return o +} + +// Kill chainName name +func (o ThreatIntelligenceKillChainPhaseOutput) KillChainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ThreatIntelligenceKillChainPhase) *string { return v.KillChainName }).(pulumi.StringPtrOutput) +} + +// Phase name +func (o ThreatIntelligenceKillChainPhaseOutput) PhaseName() pulumi.IntPtrOutput { + return o.ApplyT(func(v ThreatIntelligenceKillChainPhase) *int { return v.PhaseName }).(pulumi.IntPtrOutput) +} + +type ThreatIntelligenceKillChainPhaseArrayOutput struct{ *pulumi.OutputState } + +func (ThreatIntelligenceKillChainPhaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ThreatIntelligenceKillChainPhase)(nil)).Elem() +} + +func (o ThreatIntelligenceKillChainPhaseArrayOutput) ToThreatIntelligenceKillChainPhaseArrayOutput() ThreatIntelligenceKillChainPhaseArrayOutput { + return o +} + +func (o ThreatIntelligenceKillChainPhaseArrayOutput) ToThreatIntelligenceKillChainPhaseArrayOutputWithContext(ctx context.Context) ThreatIntelligenceKillChainPhaseArrayOutput { + return o +} + +func (o ThreatIntelligenceKillChainPhaseArrayOutput) Index(i pulumi.IntInput) ThreatIntelligenceKillChainPhaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ThreatIntelligenceKillChainPhase { + return vs[0].([]ThreatIntelligenceKillChainPhase)[vs[1].(int)] + }).(ThreatIntelligenceKillChainPhaseOutput) +} + // User information that made some action type UserInfo struct { // The object id of the user. @@ -2095,6 +2322,10 @@ func init() { pulumi.RegisterOutputType(IncidentOwnerInfoResponsePtrOutput{}) pulumi.RegisterOutputType(RelationNodeOutput{}) pulumi.RegisterOutputType(RelationNodePtrOutput{}) + pulumi.RegisterOutputType(ThreatIntelligenceGranularMarkingModelOutput{}) + pulumi.RegisterOutputType(ThreatIntelligenceGranularMarkingModelArrayOutput{}) + pulumi.RegisterOutputType(ThreatIntelligenceKillChainPhaseOutput{}) + pulumi.RegisterOutputType(ThreatIntelligenceKillChainPhaseArrayOutput{}) pulumi.RegisterOutputType(UserInfoOutput{}) pulumi.RegisterOutputType(UserInfoPtrOutput{}) pulumi.RegisterOutputType(UserInfoResponseOutput{}) diff --git a/sdk/go/azurerm/securityinsights/v20190101preview/threatIntelligenceIndicator.go b/sdk/go/azurerm/securityinsights/v20190101preview/threatIntelligenceIndicator.go new file mode 100644 index 000000000000..3ca5fb7d2735 --- /dev/null +++ b/sdk/go/azurerm/securityinsights/v20190101preview/threatIntelligenceIndicator.go @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20190101preview + +import ( + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Threat intelligence resource. +type ThreatIntelligenceIndicator struct { + pulumi.CustomResourceState + + // Etag of the azure resource + Etag pulumi.StringPtrOutput `pulumi:"etag"` + // The kind of the entity. + Kind pulumi.StringOutput `pulumi:"kind"` + // Azure resource name + Name pulumi.StringOutput `pulumi:"name"` + // Azure resource type + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewThreatIntelligenceIndicator registers a new resource with the given unique name, arguments, and options. +func NewThreatIntelligenceIndicator(ctx *pulumi.Context, + name string, args *ThreatIntelligenceIndicatorArgs, opts ...pulumi.ResourceOption) (*ThreatIntelligenceIndicator, error) { + if args == nil || args.Kind == nil { + return nil, errors.New("missing required argument 'Kind'") + } + if args == nil || args.Name == nil { + return nil, errors.New("missing required argument 'Name'") + } + if args == nil || args.OperationalInsightsResourceProvider == nil { + return nil, errors.New("missing required argument 'OperationalInsightsResourceProvider'") + } + if args == nil || args.ResourceGroupName == nil { + return nil, errors.New("missing required argument 'ResourceGroupName'") + } + if args == nil || args.WorkspaceName == nil { + return nil, errors.New("missing required argument 'WorkspaceName'") + } + if args == nil { + args = &ThreatIntelligenceIndicatorArgs{} + } + var resource ThreatIntelligenceIndicator + err := ctx.RegisterResource("azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetThreatIntelligenceIndicator gets an existing ThreatIntelligenceIndicator resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetThreatIntelligenceIndicator(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ThreatIntelligenceIndicatorState, opts ...pulumi.ResourceOption) (*ThreatIntelligenceIndicator, error) { + var resource ThreatIntelligenceIndicator + err := ctx.ReadResource("azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ThreatIntelligenceIndicator resources. +type threatIntelligenceIndicatorState struct { + // Etag of the azure resource + Etag *string `pulumi:"etag"` + // The kind of the entity. + Kind *string `pulumi:"kind"` + // Azure resource name + Name *string `pulumi:"name"` + // Azure resource type + Type *string `pulumi:"type"` +} + +type ThreatIntelligenceIndicatorState struct { + // Etag of the azure resource + Etag pulumi.StringPtrInput + // The kind of the entity. + Kind pulumi.StringPtrInput + // Azure resource name + Name pulumi.StringPtrInput + // Azure resource type + Type pulumi.StringPtrInput +} + +func (ThreatIntelligenceIndicatorState) ElementType() reflect.Type { + return reflect.TypeOf((*threatIntelligenceIndicatorState)(nil)).Elem() +} + +type threatIntelligenceIndicatorArgs struct { + // Confidence of threat intelligence entity + Confidence *int `pulumi:"confidence"` + // Created by + Created *string `pulumi:"created"` + // Created by reference of threat intelligence entity + CreatedByRef *string `pulumi:"createdByRef"` + // Description of a threat intelligence entity + Description *string `pulumi:"description"` + // Display name of a threat intelligence entity + DisplayName *string `pulumi:"displayName"` + // Etag of the azure resource + Etag *string `pulumi:"etag"` + // External ID of threat intelligence entity + ExternalId *string `pulumi:"externalId"` + // External References + ExternalReferences []string `pulumi:"externalReferences"` + // Granular Markings + GranularMarkings []ThreatIntelligenceGranularMarkingModel `pulumi:"granularMarkings"` + // Indicator types of threat intelligence entities + IndicatorTypes []string `pulumi:"indicatorTypes"` + // Kill chain phases + KillChainPhases []ThreatIntelligenceKillChainPhase `pulumi:"killChainPhases"` + // The kind of the entity. + Kind string `pulumi:"kind"` + // Labels of threat intelligence entity + Labels []string `pulumi:"labels"` + // Last updated time in UTC + LastUpdatedTimeUtc *string `pulumi:"lastUpdatedTimeUtc"` + // Modified by + Modified *string `pulumi:"modified"` + // Threat Intelligence Identifier + Name string `pulumi:"name"` + // The namespace of workspaces resource provider- Microsoft.OperationalInsights. + OperationalInsightsResourceProvider string `pulumi:"operationalInsightsResourceProvider"` + // Pattern of a threat intelligence entity + Pattern *string `pulumi:"pattern"` + // Pattern type of a threat intelligence entity + PatternType *string `pulumi:"patternType"` + // The name of the resource group within the user's subscription. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Is threat intelligence entity revoked + Revoked *bool `pulumi:"revoked"` + // Source of a threat intelligence entity + Source *string `pulumi:"source"` + // List of tags + ThreatIntelligenceTags []string `pulumi:"threatIntelligenceTags"` + // Threat types + ThreatTypes []string `pulumi:"threatTypes"` + // Valid from + ValidFrom *string `pulumi:"validFrom"` + // Valid until + ValidUntil *string `pulumi:"validUntil"` + // The name of the workspace. + WorkspaceName string `pulumi:"workspaceName"` +} + +// The set of arguments for constructing a ThreatIntelligenceIndicator resource. +type ThreatIntelligenceIndicatorArgs struct { + // Confidence of threat intelligence entity + Confidence pulumi.IntPtrInput + // Created by + Created pulumi.StringPtrInput + // Created by reference of threat intelligence entity + CreatedByRef pulumi.StringPtrInput + // Description of a threat intelligence entity + Description pulumi.StringPtrInput + // Display name of a threat intelligence entity + DisplayName pulumi.StringPtrInput + // Etag of the azure resource + Etag pulumi.StringPtrInput + // External ID of threat intelligence entity + ExternalId pulumi.StringPtrInput + // External References + ExternalReferences pulumi.StringArrayInput + // Granular Markings + GranularMarkings ThreatIntelligenceGranularMarkingModelArrayInput + // Indicator types of threat intelligence entities + IndicatorTypes pulumi.StringArrayInput + // Kill chain phases + KillChainPhases ThreatIntelligenceKillChainPhaseArrayInput + // The kind of the entity. + Kind pulumi.StringInput + // Labels of threat intelligence entity + Labels pulumi.StringArrayInput + // Last updated time in UTC + LastUpdatedTimeUtc pulumi.StringPtrInput + // Modified by + Modified pulumi.StringPtrInput + // Threat Intelligence Identifier + Name pulumi.StringInput + // The namespace of workspaces resource provider- Microsoft.OperationalInsights. + OperationalInsightsResourceProvider pulumi.StringInput + // Pattern of a threat intelligence entity + Pattern pulumi.StringPtrInput + // Pattern type of a threat intelligence entity + PatternType pulumi.StringPtrInput + // The name of the resource group within the user's subscription. The name is case insensitive. + ResourceGroupName pulumi.StringInput + // Is threat intelligence entity revoked + Revoked pulumi.BoolPtrInput + // Source of a threat intelligence entity + Source pulumi.StringPtrInput + // List of tags + ThreatIntelligenceTags pulumi.StringArrayInput + // Threat types + ThreatTypes pulumi.StringArrayInput + // Valid from + ValidFrom pulumi.StringPtrInput + // Valid until + ValidUntil pulumi.StringPtrInput + // The name of the workspace. + WorkspaceName pulumi.StringInput +} + +func (ThreatIntelligenceIndicatorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*threatIntelligenceIndicatorArgs)(nil)).Elem() +} diff --git a/sdk/go/azurerm/synapse/v20190601preview/getIntegrationRuntime.go b/sdk/go/azurerm/synapse/v20190601preview/getIntegrationRuntime.go index ea216c837584..012d8d5120c2 100644 --- a/sdk/go/azurerm/synapse/v20190601preview/getIntegrationRuntime.go +++ b/sdk/go/azurerm/synapse/v20190601preview/getIntegrationRuntime.go @@ -27,12 +27,12 @@ type LookupIntegrationRuntimeArgs struct { // Integration runtime resource type. type LookupIntegrationRuntimeResult struct { - // Etag identifies change in the resource. + // Resource Etag. Etag string `pulumi:"etag"` - // The resource name. + // The name of the resource Name string `pulumi:"name"` // Integration runtime properties. Properties IntegrationRuntimeResponse `pulumi:"properties"` - // The resource type. + // The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type string `pulumi:"type"` } diff --git a/sdk/go/azurerm/synapse/v20190601preview/integrationRuntime.go b/sdk/go/azurerm/synapse/v20190601preview/integrationRuntime.go index da8f2b2907cb..23faddedfaa6 100644 --- a/sdk/go/azurerm/synapse/v20190601preview/integrationRuntime.go +++ b/sdk/go/azurerm/synapse/v20190601preview/integrationRuntime.go @@ -14,13 +14,13 @@ import ( type IntegrationRuntime struct { pulumi.CustomResourceState - // Etag identifies change in the resource. + // Resource Etag. Etag pulumi.StringOutput `pulumi:"etag"` - // The resource name. + // The name of the resource Name pulumi.StringOutput `pulumi:"name"` // Integration runtime properties. Properties IntegrationRuntimeResponseOutput `pulumi:"properties"` - // The resource type. + // The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type pulumi.StringOutput `pulumi:"type"` } @@ -64,24 +64,24 @@ func GetIntegrationRuntime(ctx *pulumi.Context, // Input properties used for looking up and filtering IntegrationRuntime resources. type integrationRuntimeState struct { - // Etag identifies change in the resource. + // Resource Etag. Etag *string `pulumi:"etag"` - // The resource name. + // The name of the resource Name *string `pulumi:"name"` // Integration runtime properties. Properties *IntegrationRuntimeResponse `pulumi:"properties"` - // The resource type. + // The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `pulumi:"type"` } type IntegrationRuntimeState struct { - // Etag identifies change in the resource. + // Resource Etag. Etag pulumi.StringPtrInput - // The resource name. + // The name of the resource Name pulumi.StringPtrInput // Integration runtime properties. Properties IntegrationRuntimeResponsePtrInput - // The resource type. + // The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type pulumi.StringPtrInput } diff --git a/sdk/go/azurerm/synapse/v20190601preview/pulumiTypes.go b/sdk/go/azurerm/synapse/v20190601preview/pulumiTypes.go index e8bfb169d18d..2f42b82aaf0c 100644 --- a/sdk/go/azurerm/synapse/v20190601preview/pulumiTypes.go +++ b/sdk/go/azurerm/synapse/v20190601preview/pulumiTypes.go @@ -2615,6 +2615,8 @@ func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.Stri // SQL pool SKU type Sku struct { + // 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. + Capacity *int `pulumi:"capacity"` // The SKU name Name *string `pulumi:"name"` // The service tier @@ -2634,6 +2636,8 @@ type SkuInput interface { // SQL pool SKU type SkuArgs struct { + // 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. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` // The SKU name Name pulumi.StringPtrInput `pulumi:"name"` // The service tier @@ -2718,6 +2722,11 @@ func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { }).(SkuPtrOutput) } +// 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. +func (o SkuOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v Sku) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + // The SKU name func (o SkuOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2746,6 +2755,16 @@ func (o SkuPtrOutput) Elem() SkuOutput { return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) } +// 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. +func (o SkuPtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Sku) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + // The SKU name func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *Sku) *string { @@ -2768,6 +2787,8 @@ func (o SkuPtrOutput) Tier() pulumi.StringPtrOutput { // SQL pool SKU type SkuResponse struct { + // 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. + Capacity *int `pulumi:"capacity"` // The SKU name Name *string `pulumi:"name"` // The service tier @@ -2787,6 +2808,8 @@ type SkuResponseInput interface { // SQL pool SKU type SkuResponseArgs struct { + // 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. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` // The SKU name Name pulumi.StringPtrInput `pulumi:"name"` // The service tier @@ -2871,6 +2894,11 @@ func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context }).(SkuResponsePtrOutput) } +// 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. +func (o SkuResponseOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v SkuResponse) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + // The SKU name func (o SkuResponseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2899,6 +2927,16 @@ func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) } +// 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. +func (o SkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SkuResponse) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + // The SKU name func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *SkuResponse) *string { diff --git a/sdk/nodejs/devices/index.ts b/sdk/nodejs/devices/index.ts index 7127d30c7102..9ec3b3d2880d 100644 --- a/sdk/nodejs/devices/index.ts +++ b/sdk/nodejs/devices/index.ts @@ -20,4 +20,5 @@ import * as v20200301 from "./v20200301"; import * as v20200401 from "./v20200401"; import * as v20200615 from "./v20200615"; import * as v20200710preview from "./v20200710preview"; -export {latest, v20160203, v20170119, v20170701, v20170821preview, v20171115, v20180122, v20180401, v20181201preview, v20190322, v20190322preview, v20190701preview, v20191104, v20200101, v20200301, v20200401, v20200615, v20200710preview}; +import * as v20200801 from "./v20200801"; +export {latest, v20160203, v20170119, v20170701, v20170821preview, v20171115, v20180122, v20180401, v20181201preview, v20190322, v20190322preview, v20190701preview, v20191104, v20200101, v20200301, v20200401, v20200615, v20200710preview, v20200801}; diff --git a/sdk/nodejs/devices/latest/certificate.ts b/sdk/nodejs/devices/latest/certificate.ts index 59b126efbf05..d1148587fb0d 100644 --- a/sdk/nodejs/devices/latest/certificate.ts +++ b/sdk/nodejs/devices/latest/certificate.ts @@ -90,7 +90,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/latest/iotHubResource.ts b/sdk/nodejs/devices/latest/iotHubResource.ts index 439b9d0c8ac1..59ebe93900ec 100644 --- a/sdk/nodejs/devices/latest/iotHubResource.ts +++ b/sdk/nodejs/devices/latest/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/latest/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/latest/iotHubResourceEventHubConsumerGroup.ts index 68dbf2414f75..c3088039a324 100644 --- a/sdk/nodejs/devices/latest/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/latest/iotHubResourceEventHubConsumerGroup.ts @@ -93,7 +93,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/latest/privateEndpointConnection.ts b/sdk/nodejs/devices/latest/privateEndpointConnection.ts index 21423a26a15d..1760266b3fdb 100644 --- a/sdk/nodejs/devices/latest/privateEndpointConnection.ts +++ b/sdk/nodejs/devices/latest/privateEndpointConnection.ts @@ -88,7 +88,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200801:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20160203/iotHubResource.ts b/sdk/nodejs/devices/v20160203/iotHubResource.ts index a3d0fb07ecce..7b072132b0a4 100644 --- a/sdk/nodejs/devices/v20160203/iotHubResource.ts +++ b/sdk/nodejs/devices/v20160203/iotHubResource.ts @@ -123,7 +123,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20160203/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20160203/iotHubResourceEventHubConsumerGroup.ts index 97f842f4c4fd..35663a94cf29 100644 --- a/sdk/nodejs/devices/v20160203/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20160203/iotHubResourceEventHubConsumerGroup.ts @@ -81,7 +81,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20170119/iotHubResource.ts b/sdk/nodejs/devices/v20170119/iotHubResource.ts index 05c9651123bc..cd42a255574e 100644 --- a/sdk/nodejs/devices/v20170119/iotHubResource.ts +++ b/sdk/nodejs/devices/v20170119/iotHubResource.ts @@ -123,7 +123,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20170119/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20170119/iotHubResourceEventHubConsumerGroup.ts index 8bc3fcd5339a..7f60748a13bd 100644 --- a/sdk/nodejs/devices/v20170119/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20170119/iotHubResourceEventHubConsumerGroup.ts @@ -81,7 +81,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20170701/certificate.ts b/sdk/nodejs/devices/v20170701/certificate.ts index 13df04d276fc..ebae24656245 100644 --- a/sdk/nodejs/devices/v20170701/certificate.ts +++ b/sdk/nodejs/devices/v20170701/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20170701/iotHubResource.ts b/sdk/nodejs/devices/v20170701/iotHubResource.ts index 449b73a09e19..822d731dcd56 100644 --- a/sdk/nodejs/devices/v20170701/iotHubResource.ts +++ b/sdk/nodejs/devices/v20170701/iotHubResource.ts @@ -123,7 +123,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20170701/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20170701/iotHubResourceEventHubConsumerGroup.ts index 45afcbe992a6..a63e7742c495 100644 --- a/sdk/nodejs/devices/v20170701/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20170701/iotHubResourceEventHubConsumerGroup.ts @@ -81,7 +81,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180122/certificate.ts b/sdk/nodejs/devices/v20180122/certificate.ts index e989078b395e..b32a12fdbd22 100644 --- a/sdk/nodejs/devices/v20180122/certificate.ts +++ b/sdk/nodejs/devices/v20180122/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180122/iotHubResource.ts b/sdk/nodejs/devices/v20180122/iotHubResource.ts index d69612c948fe..e777755616fa 100644 --- a/sdk/nodejs/devices/v20180122/iotHubResource.ts +++ b/sdk/nodejs/devices/v20180122/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180122/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20180122/iotHubResourceEventHubConsumerGroup.ts index f7fbb26beb7e..5da5aa63d045 100644 --- a/sdk/nodejs/devices/v20180122/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20180122/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180401/certificate.ts b/sdk/nodejs/devices/v20180401/certificate.ts index 685861424d2a..e6526136093b 100644 --- a/sdk/nodejs/devices/v20180401/certificate.ts +++ b/sdk/nodejs/devices/v20180401/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180401/iotHubResource.ts b/sdk/nodejs/devices/v20180401/iotHubResource.ts index 3f006092b032..17913c46fd69 100644 --- a/sdk/nodejs/devices/v20180401/iotHubResource.ts +++ b/sdk/nodejs/devices/v20180401/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20180401/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20180401/iotHubResourceEventHubConsumerGroup.ts index c284cc5fa164..867dcda09f5e 100644 --- a/sdk/nodejs/devices/v20180401/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20180401/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20181201preview/certificate.ts b/sdk/nodejs/devices/v20181201preview/certificate.ts index 19f83cdad8fe..a6290568457e 100644 --- a/sdk/nodejs/devices/v20181201preview/certificate.ts +++ b/sdk/nodejs/devices/v20181201preview/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20181201preview/iotHubResource.ts b/sdk/nodejs/devices/v20181201preview/iotHubResource.ts index e43413ce6f4b..1b95fee6e682 100644 --- a/sdk/nodejs/devices/v20181201preview/iotHubResource.ts +++ b/sdk/nodejs/devices/v20181201preview/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.ts index 0e218e4de06b..618c59d93376 100644 --- a/sdk/nodejs/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20181201preview/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322/certificate.ts b/sdk/nodejs/devices/v20190322/certificate.ts index e555974a8256..00ac66bcc843 100644 --- a/sdk/nodejs/devices/v20190322/certificate.ts +++ b/sdk/nodejs/devices/v20190322/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322/iotHubResource.ts b/sdk/nodejs/devices/v20190322/iotHubResource.ts index 6554fe8218f5..81609c5e5528 100644 --- a/sdk/nodejs/devices/v20190322/iotHubResource.ts +++ b/sdk/nodejs/devices/v20190322/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20190322/iotHubResourceEventHubConsumerGroup.ts index de6234f4de85..b5d09a73bda6 100644 --- a/sdk/nodejs/devices/v20190322/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20190322/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322preview/certificate.ts b/sdk/nodejs/devices/v20190322preview/certificate.ts index 0ea316d913e9..9d68579041ac 100644 --- a/sdk/nodejs/devices/v20190322preview/certificate.ts +++ b/sdk/nodejs/devices/v20190322preview/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322preview/iotHubResource.ts b/sdk/nodejs/devices/v20190322preview/iotHubResource.ts index 5ef3b35685fd..be5f59950d8a 100644 --- a/sdk/nodejs/devices/v20190322preview/iotHubResource.ts +++ b/sdk/nodejs/devices/v20190322preview/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.ts index 40200ccac7e6..c5c8e42a9790 100644 --- a/sdk/nodejs/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20190322preview/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190701preview/certificate.ts b/sdk/nodejs/devices/v20190701preview/certificate.ts index 34948524546f..a6c599d14f79 100644 --- a/sdk/nodejs/devices/v20190701preview/certificate.ts +++ b/sdk/nodejs/devices/v20190701preview/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190701preview/iotHubResource.ts b/sdk/nodejs/devices/v20190701preview/iotHubResource.ts index 12d76cce828c..f34f4c41c09d 100644 --- a/sdk/nodejs/devices/v20190701preview/iotHubResource.ts +++ b/sdk/nodejs/devices/v20190701preview/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.ts index c5af68ef9dbe..f0ecbf2a51a7 100644 --- a/sdk/nodejs/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20190701preview/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20191104/certificate.ts b/sdk/nodejs/devices/v20191104/certificate.ts index a8d6619a45f5..df3cf8a01d66 100644 --- a/sdk/nodejs/devices/v20191104/certificate.ts +++ b/sdk/nodejs/devices/v20191104/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20191104/iotHubResource.ts b/sdk/nodejs/devices/v20191104/iotHubResource.ts index 5134676392ae..95ca422cfa52 100644 --- a/sdk/nodejs/devices/v20191104/iotHubResource.ts +++ b/sdk/nodejs/devices/v20191104/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20191104/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20191104/iotHubResourceEventHubConsumerGroup.ts index a5daa99b4043..65586dd441ca 100644 --- a/sdk/nodejs/devices/v20191104/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20191104/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200301/certificate.ts b/sdk/nodejs/devices/v20200301/certificate.ts index 5eb893392f53..89c7f5212020 100644 --- a/sdk/nodejs/devices/v20200301/certificate.ts +++ b/sdk/nodejs/devices/v20200301/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200301/iotHubResource.ts b/sdk/nodejs/devices/v20200301/iotHubResource.ts index ce3a2d8404a1..625442fc0aa3 100644 --- a/sdk/nodejs/devices/v20200301/iotHubResource.ts +++ b/sdk/nodejs/devices/v20200301/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200301/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200301/iotHubResourceEventHubConsumerGroup.ts index 218b062e492e..aaf2333b1291 100644 --- a/sdk/nodejs/devices/v20200301/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20200301/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200301/privateEndpointConnection.ts b/sdk/nodejs/devices/v20200301/privateEndpointConnection.ts index 741fd1ec8e1b..9e7f98e3e744 100644 --- a/sdk/nodejs/devices/v20200301/privateEndpointConnection.ts +++ b/sdk/nodejs/devices/v20200301/privateEndpointConnection.ts @@ -88,7 +88,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200801:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200401/certificate.ts b/sdk/nodejs/devices/v20200401/certificate.ts index ce4a2e33d881..2416843bc1e3 100644 --- a/sdk/nodejs/devices/v20200401/certificate.ts +++ b/sdk/nodejs/devices/v20200401/certificate.ts @@ -91,7 +91,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200401/iotHubResource.ts b/sdk/nodejs/devices/v20200401/iotHubResource.ts index a9c1b012ca13..7ac50182950d 100644 --- a/sdk/nodejs/devices/v20200401/iotHubResource.ts +++ b/sdk/nodejs/devices/v20200401/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200401/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200401/iotHubResourceEventHubConsumerGroup.ts index a08ccb7f09bc..216841f4d6da 100644 --- a/sdk/nodejs/devices/v20200401/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20200401/iotHubResourceEventHubConsumerGroup.ts @@ -91,7 +91,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200401/privateEndpointConnection.ts b/sdk/nodejs/devices/v20200401/privateEndpointConnection.ts index fd16e7cc3aec..62eb19ec517e 100644 --- a/sdk/nodejs/devices/v20200401/privateEndpointConnection.ts +++ b/sdk/nodejs/devices/v20200401/privateEndpointConnection.ts @@ -88,7 +88,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200801:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200615/certificate.ts b/sdk/nodejs/devices/v20200615/certificate.ts index 93184f0061e1..41af6292c0ef 100644 --- a/sdk/nodejs/devices/v20200615/certificate.ts +++ b/sdk/nodejs/devices/v20200615/certificate.ts @@ -90,7 +90,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200615/iotHubResource.ts b/sdk/nodejs/devices/v20200615/iotHubResource.ts index c331fe5ad386..652fdb42844e 100644 --- a/sdk/nodejs/devices/v20200615/iotHubResource.ts +++ b/sdk/nodejs/devices/v20200615/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200615/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200615/iotHubResourceEventHubConsumerGroup.ts index 0bf90f6107c3..067cfed340e3 100644 --- a/sdk/nodejs/devices/v20200615/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20200615/iotHubResourceEventHubConsumerGroup.ts @@ -93,7 +93,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200615/privateEndpointConnection.ts b/sdk/nodejs/devices/v20200615/privateEndpointConnection.ts index 3227f15f769a..8cc7e659d51d 100644 --- a/sdk/nodejs/devices/v20200615/privateEndpointConnection.ts +++ b/sdk/nodejs/devices/v20200615/privateEndpointConnection.ts @@ -88,7 +88,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200801:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200710preview/certificate.ts b/sdk/nodejs/devices/v20200710preview/certificate.ts index e09b9d4cf6c3..b1c8ab5d7efd 100644 --- a/sdk/nodejs/devices/v20200710preview/certificate.ts +++ b/sdk/nodejs/devices/v20200710preview/certificate.ts @@ -90,7 +90,7 @@ export class Certificate extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200801:Certificate" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Certificate.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200710preview/iotHubResource.ts b/sdk/nodejs/devices/v20200710preview/iotHubResource.ts index 2e346c066635..4385262633b4 100644 --- a/sdk/nodejs/devices/v20200710preview/iotHubResource.ts +++ b/sdk/nodejs/devices/v20200710preview/iotHubResource.ts @@ -107,7 +107,7 @@ export class IotHubResource extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200801:IotHubResource" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResource.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.ts index 4d33c419819a..8355eda47813 100644 --- a/sdk/nodejs/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.ts +++ b/sdk/nodejs/devices/v20200710preview/iotHubResourceEventHubConsumerGroup.ts @@ -93,7 +93,7 @@ export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200710preview/privateEndpointConnection.ts b/sdk/nodejs/devices/v20200710preview/privateEndpointConnection.ts index 7792fe31d32e..e821dac0e479 100644 --- a/sdk/nodejs/devices/v20200710preview/privateEndpointConnection.ts +++ b/sdk/nodejs/devices/v20200710preview/privateEndpointConnection.ts @@ -88,7 +88,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200801:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/devices/v20200801/certificate.ts b/sdk/nodejs/devices/v20200801/certificate.ts new file mode 100644 index 000000000000..86664945d151 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/certificate.ts @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +/** + * The X509 Certificate. + */ +export class Certificate extends pulumi.CustomResource { + /** + * Get an existing Certificate resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Certificate { + return new Certificate(name, undefined, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azurerm:devices/v20200801:Certificate'; + + /** + * Returns true if the given object is an instance of Certificate. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Certificate { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Certificate.__pulumiType; + } + + /** + * The entity tag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The name of the certificate. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The description of an X509 CA Certificate. + */ + public readonly properties!: pulumi.Output; + /** + * The resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Certificate resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, state: undefined, opts: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CertificateArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + const args = argsOrState as CertificateArgs | undefined; + if (!args || args.certificateName === undefined) { + throw new Error("Missing required property 'certificateName'"); + } + if (!args || args.resourceGroupName === undefined) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if (!args || args.resourceName === undefined) { + throw new Error("Missing required property 'resourceName'"); + } + inputs["certificateName"] = args ? args.certificateName : undefined; + inputs["properties"] = args ? args.properties : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["etag"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:Certificate" }, { type: "azurerm:devices/v20170701:Certificate" }, { type: "azurerm:devices/v20180122:Certificate" }, { type: "azurerm:devices/v20180401:Certificate" }, { type: "azurerm:devices/v20181201preview:Certificate" }, { type: "azurerm:devices/v20190322:Certificate" }, { type: "azurerm:devices/v20190322preview:Certificate" }, { type: "azurerm:devices/v20190701preview:Certificate" }, { type: "azurerm:devices/v20191104:Certificate" }, { type: "azurerm:devices/v20200301:Certificate" }, { type: "azurerm:devices/v20200401:Certificate" }, { type: "azurerm:devices/v20200615:Certificate" }, { type: "azurerm:devices/v20200710preview:Certificate" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(Certificate.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a Certificate resource. + */ +export interface CertificateArgs { + /** + * The name of the certificate + */ + readonly certificateName: pulumi.Input; + /** + * The description of an X509 CA Certificate. + */ + readonly properties?: pulumi.Input; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the IoT hub. + */ + readonly resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/devices/v20200801/getCertificate.ts b/sdk/nodejs/devices/v20200801/getCertificate.ts new file mode 100644 index 000000000000..973e79335e6c --- /dev/null +++ b/sdk/nodejs/devices/v20200801/getCertificate.ts @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:getCertificate", { + "certificateName": args.certificateName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetCertificateArgs { + /** + * The name of the certificate + */ + readonly certificateName: string; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The X509 Certificate. + */ +export interface GetCertificateResult { + /** + * The entity tag. + */ + readonly etag: string; + /** + * The name of the certificate. + */ + readonly name: string; + /** + * The description of an X509 CA Certificate. + */ + readonly properties: outputs.devices.v20200801.CertificatePropertiesResponse; + /** + * The resource type. + */ + readonly type: string; +} diff --git a/sdk/nodejs/devices/v20200801/getIotHubResource.ts b/sdk/nodejs/devices/v20200801/getIotHubResource.ts new file mode 100644 index 000000000000..ef20fed2d140 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/getIotHubResource.ts @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function getIotHubResource(args: GetIotHubResourceArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:getIotHubResource", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetIotHubResourceArgs { + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The description of the IoT hub. + */ +export interface GetIotHubResourceResult { + /** + * The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + */ + readonly etag?: string; + /** + * The resource location. + */ + readonly location: string; + /** + * The resource name. + */ + readonly name: string; + /** + * IotHub properties + */ + readonly properties: outputs.devices.v20200801.IotHubPropertiesResponse; + /** + * IotHub SKU info + */ + readonly sku: outputs.devices.v20200801.IotHubSkuInfoResponse; + /** + * The resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The resource type. + */ + readonly type: string; +} diff --git a/sdk/nodejs/devices/v20200801/getIotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200801/getIotHubResourceEventHubConsumerGroup.ts new file mode 100644 index 000000000000..dd3c2ff47d68 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/getIotHubResourceEventHubConsumerGroup.ts @@ -0,0 +1,64 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function getIotHubResourceEventHubConsumerGroup(args: GetIotHubResourceEventHubConsumerGroupArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup", { + "eventHubEndpointName": args.eventHubEndpointName, + "name": args.name, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetIotHubResourceEventHubConsumerGroupArgs { + /** + * The name of the Event Hub-compatible endpoint in the IoT hub. + */ + readonly eventHubEndpointName: string; + /** + * The name of the consumer group to retrieve. + */ + readonly name: string; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The properties of the EventHubConsumerGroupInfo object. + */ +export interface GetIotHubResourceEventHubConsumerGroupResult { + /** + * The etag. + */ + readonly etag: string; + /** + * The Event Hub-compatible consumer group name. + */ + readonly name: string; + /** + * The tags. + */ + readonly properties: {[key: string]: string}; + /** + * the resource type. + */ + readonly type: string; +} diff --git a/sdk/nodejs/devices/v20200801/getPrivateEndpointConnection.ts b/sdk/nodejs/devices/v20200801/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..79843768046b --- /dev/null +++ b/sdk/nodejs/devices/v20200801/getPrivateEndpointConnection.ts @@ -0,0 +1,55 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:getPrivateEndpointConnection", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection + */ + readonly privateEndpointConnectionName: string; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The private endpoint connection of an IotHub + */ +export interface GetPrivateEndpointConnectionResult { + /** + * The resource name. + */ + readonly name: string; + /** + * The properties of a private endpoint connection + */ + readonly properties: outputs.devices.v20200801.PrivateEndpointConnectionPropertiesResponse; + /** + * The resource type. + */ + readonly type: string; +} diff --git a/sdk/nodejs/devices/v20200801/index.ts b/sdk/nodejs/devices/v20200801/index.ts new file mode 100644 index 000000000000..8ce8965a78ad --- /dev/null +++ b/sdk/nodejs/devices/v20200801/index.ts @@ -0,0 +1,14 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +// Export members: +export * from "./certificate"; +export * from "./getCertificate"; +export * from "./getIotHubResource"; +export * from "./getIotHubResourceEventHubConsumerGroup"; +export * from "./getPrivateEndpointConnection"; +export * from "./iotHubResource"; +export * from "./iotHubResourceEventHubConsumerGroup"; +export * from "./listIotHubResourceKeys"; +export * from "./listIotHubResourceKeysForKeyName"; +export * from "./privateEndpointConnection"; diff --git a/sdk/nodejs/devices/v20200801/iotHubResource.ts b/sdk/nodejs/devices/v20200801/iotHubResource.ts new file mode 100644 index 000000000000..b2399a3064f0 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/iotHubResource.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +/** + * The description of the IoT hub. + */ +export class IotHubResource extends pulumi.CustomResource { + /** + * Get an existing IotHubResource resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IotHubResource { + return new IotHubResource(name, undefined, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azurerm:devices/v20200801:IotHubResource'; + + /** + * Returns true if the given object is an instance of IotHubResource. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IotHubResource { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IotHubResource.__pulumiType; + } + + /** + * The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + */ + public readonly etag!: pulumi.Output; + /** + * The resource location. + */ + public readonly location!: pulumi.Output; + /** + * The resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * IotHub properties + */ + public readonly properties!: pulumi.Output; + /** + * IotHub SKU info + */ + public readonly sku!: pulumi.Output; + /** + * The resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IotHubResource resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IotHubResourceArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, state: undefined, opts: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IotHubResourceArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + const args = argsOrState as IotHubResourceArgs | undefined; + if (!args || args.location === undefined) { + throw new Error("Missing required property 'location'"); + } + if (!args || args.resourceGroupName === undefined) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if (!args || args.resourceName === undefined) { + throw new Error("Missing required property 'resourceName'"); + } + if (!args || args.sku === undefined) { + throw new Error("Missing required property 'sku'"); + } + inputs["etag"] = args ? args.etag : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["properties"] = args ? args.properties : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["sku"] = args ? args.sku : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["name"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResource" }, { type: "azurerm:devices/v20160203:IotHubResource" }, { type: "azurerm:devices/v20170119:IotHubResource" }, { type: "azurerm:devices/v20170701:IotHubResource" }, { type: "azurerm:devices/v20180122:IotHubResource" }, { type: "azurerm:devices/v20180401:IotHubResource" }, { type: "azurerm:devices/v20181201preview:IotHubResource" }, { type: "azurerm:devices/v20190322:IotHubResource" }, { type: "azurerm:devices/v20190322preview:IotHubResource" }, { type: "azurerm:devices/v20190701preview:IotHubResource" }, { type: "azurerm:devices/v20191104:IotHubResource" }, { type: "azurerm:devices/v20200301:IotHubResource" }, { type: "azurerm:devices/v20200401:IotHubResource" }, { type: "azurerm:devices/v20200615:IotHubResource" }, { type: "azurerm:devices/v20200710preview:IotHubResource" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(IotHubResource.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a IotHubResource resource. + */ +export interface IotHubResourceArgs { + /** + * The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + */ + readonly etag?: pulumi.Input; + /** + * The resource location. + */ + readonly location: pulumi.Input; + /** + * IotHub properties + */ + readonly properties?: pulumi.Input; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the IoT hub. + */ + readonly resourceName: pulumi.Input; + /** + * IotHub SKU info + */ + readonly sku: pulumi.Input; + /** + * The resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devices/v20200801/iotHubResourceEventHubConsumerGroup.ts b/sdk/nodejs/devices/v20200801/iotHubResourceEventHubConsumerGroup.ts new file mode 100644 index 000000000000..b1f24bb77427 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/iotHubResourceEventHubConsumerGroup.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +/** + * The properties of the EventHubConsumerGroupInfo object. + */ +export class IotHubResourceEventHubConsumerGroup extends pulumi.CustomResource { + /** + * Get an existing IotHubResourceEventHubConsumerGroup resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IotHubResourceEventHubConsumerGroup { + return new IotHubResourceEventHubConsumerGroup(name, undefined, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup'; + + /** + * Returns true if the given object is an instance of IotHubResourceEventHubConsumerGroup. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IotHubResourceEventHubConsumerGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IotHubResourceEventHubConsumerGroup.__pulumiType; + } + + /** + * The etag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The Event Hub-compatible consumer group name. + */ + public readonly name!: pulumi.Output; + /** + * The tags. + */ + public readonly properties!: pulumi.Output<{[key: string]: string}>; + /** + * the resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IotHubResourceEventHubConsumerGroup resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IotHubResourceEventHubConsumerGroupArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, state: undefined, opts: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IotHubResourceEventHubConsumerGroupArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + const args = argsOrState as IotHubResourceEventHubConsumerGroupArgs | undefined; + if (!args || args.eventHubEndpointName === undefined) { + throw new Error("Missing required property 'eventHubEndpointName'"); + } + if (!args || args.name === undefined) { + throw new Error("Missing required property 'name'"); + } + if (!args || args.resourceGroupName === undefined) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if (!args || args.resourceName === undefined) { + throw new Error("Missing required property 'resourceName'"); + } + inputs["eventHubEndpointName"] = args ? args.eventHubEndpointName : undefined; + inputs["name"] = args ? args.name : undefined; + inputs["properties"] = args ? args.properties : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["etag"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { type: "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(IotHubResourceEventHubConsumerGroup.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a IotHubResourceEventHubConsumerGroup resource. + */ +export interface IotHubResourceEventHubConsumerGroupArgs { + /** + * The name of the Event Hub-compatible endpoint in the IoT hub. + */ + readonly eventHubEndpointName: pulumi.Input; + /** + * The name of the consumer group to add. + */ + readonly name: pulumi.Input; + /** + * The EventHub consumer group name. + */ + readonly properties?: pulumi.Input; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the IoT hub. + */ + readonly resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/devices/v20200801/listIotHubResourceKeys.ts b/sdk/nodejs/devices/v20200801/listIotHubResourceKeys.ts new file mode 100644 index 000000000000..021d9c970772 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/listIotHubResourceKeys.ts @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function listIotHubResourceKeys(args: ListIotHubResourceKeysArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:listIotHubResourceKeys", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface ListIotHubResourceKeysArgs { + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The list of shared access policies with a next link. + */ +export interface ListIotHubResourceKeysResult { + /** + * The next link. + */ + readonly nextLink: string; + /** + * The list of shared access policies. + */ + readonly value?: outputs.devices.v20200801.SharedAccessSignatureAuthorizationRuleResponse[]; +} diff --git a/sdk/nodejs/devices/v20200801/listIotHubResourceKeysForKeyName.ts b/sdk/nodejs/devices/v20200801/listIotHubResourceKeysForKeyName.ts new file mode 100644 index 000000000000..b773c8559919 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/listIotHubResourceKeysForKeyName.ts @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function listIotHubResourceKeysForKeyName(args: ListIotHubResourceKeysForKeyNameArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:devices/v20200801:listIotHubResourceKeysForKeyName", { + "keyName": args.keyName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface ListIotHubResourceKeysForKeyNameArgs { + /** + * The name of the shared access policy. + */ + readonly keyName: string; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: string; + /** + * The name of the IoT hub. + */ + readonly resourceName: string; +} + +/** + * The properties of an IoT hub shared access policy. + */ +export interface ListIotHubResourceKeysForKeyNameResult { + /** + * The name of the shared access policy. + */ + readonly keyName: string; + /** + * The primary key. + */ + readonly primaryKey?: string; + /** + * The permissions assigned to the shared access policy. + */ + readonly rights: string; + /** + * The secondary key. + */ + readonly secondaryKey?: string; +} diff --git a/sdk/nodejs/devices/v20200801/privateEndpointConnection.ts b/sdk/nodejs/devices/v20200801/privateEndpointConnection.ts new file mode 100644 index 000000000000..52b1afcadf56 --- /dev/null +++ b/sdk/nodejs/devices/v20200801/privateEndpointConnection.ts @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +/** + * The private endpoint connection of an IotHub + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azurerm:devices/v20200801:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * The resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The properties of a private endpoint connection + */ + public readonly properties!: pulumi.Output; + /** + * The resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, state: undefined, opts: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + const args = argsOrState as PrivateEndpointConnectionArgs | undefined; + if (!args || args.privateEndpointConnectionName === undefined) { + throw new Error("Missing required property 'privateEndpointConnectionName'"); + } + if (!args || args.properties === undefined) { + throw new Error("Missing required property 'properties'"); + } + if (!args || args.resourceGroupName === undefined) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if (!args || args.resourceName === undefined) { + throw new Error("Missing required property 'resourceName'"); + } + inputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + inputs["properties"] = args ? args.properties : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["name"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azurerm:devices/latest:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200301:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200401:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200615:PrivateEndpointConnection" }, { type: "azurerm:devices/v20200710preview:PrivateEndpointConnection" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection + */ + readonly privateEndpointConnectionName: pulumi.Input; + /** + * The properties of a private endpoint connection + */ + readonly properties: pulumi.Input; + /** + * The name of the resource group that contains the IoT hub. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the IoT hub. + */ + readonly resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/hybridcompute/latest/getMachine.ts b/sdk/nodejs/hybridcompute/latest/getMachine.ts index 7021fac5eac3..fe436d60a780 100644 --- a/sdk/nodejs/hybridcompute/latest/getMachine.ts +++ b/sdk/nodejs/hybridcompute/latest/getMachine.ts @@ -71,7 +71,7 @@ export interface GetMachineResult { /** * Machine Extensions information */ - readonly extensions?: outputs.hybridcompute.latest.MachineExtensionInstanceViewResponse[]; + readonly extensions: outputs.hybridcompute.latest.MachineExtensionInstanceViewResponse[]; readonly identity?: outputs.hybridcompute.latest.MachineResponseIdentity; /** * The time of the last status change. diff --git a/sdk/nodejs/hybridcompute/latest/machine.ts b/sdk/nodejs/hybridcompute/latest/machine.ts index 4cf931cd46dc..e3030714b789 100644 --- a/sdk/nodejs/hybridcompute/latest/machine.ts +++ b/sdk/nodejs/hybridcompute/latest/machine.ts @@ -67,7 +67,7 @@ export class Machine extends pulumi.CustomResource { /** * Machine Extensions information */ - public readonly extensions!: pulumi.Output; + public /*out*/ readonly extensions!: pulumi.Output; public readonly identity!: pulumi.Output; /** * The time of the last status change. @@ -153,7 +153,6 @@ export class Machine extends pulumi.CustomResource { throw new Error("Missing required property 'resourceGroupName'"); } inputs["clientPublicKey"] = args ? args.clientPublicKey : undefined; - inputs["extensions"] = args ? args.extensions : undefined; inputs["identity"] = args ? args.identity : undefined; inputs["location"] = args ? args.location : undefined; inputs["locationData"] = args ? args.locationData : undefined; @@ -167,6 +166,7 @@ export class Machine extends pulumi.CustomResource { inputs["dnsFqdn"] = undefined /*out*/; inputs["domainName"] = undefined /*out*/; inputs["errorDetails"] = undefined /*out*/; + inputs["extensions"] = undefined /*out*/; inputs["lastStatusChange"] = undefined /*out*/; inputs["machineFqdn"] = undefined /*out*/; inputs["osName"] = undefined /*out*/; @@ -199,10 +199,6 @@ export interface MachineArgs { * Public Key that the client provides to be used during initial resource onboarding */ readonly clientPublicKey?: pulumi.Input; - /** - * Machine Extensions information - */ - readonly extensions?: pulumi.Input[]>; readonly identity?: pulumi.Input; /** * The geo-location where the resource lives diff --git a/sdk/nodejs/hybridcompute/latest/machineExtension.ts b/sdk/nodejs/hybridcompute/latest/machineExtension.ts index ec1c1d321d3a..ec1f9c8001c3 100644 --- a/sdk/nodejs/hybridcompute/latest/machineExtension.ts +++ b/sdk/nodejs/hybridcompute/latest/machineExtension.ts @@ -47,7 +47,7 @@ export class MachineExtension extends pulumi.CustomResource { /** * The machine extension instance view. */ - public readonly instanceView!: pulumi.Output; + public /*out*/ readonly instanceView!: pulumi.Output; /** * The geo-location where the resource lives */ @@ -113,7 +113,6 @@ export class MachineExtension extends pulumi.CustomResource { inputs["autoUpgradeMinorVersion"] = args ? args.autoUpgradeMinorVersion : undefined; inputs["extensionName"] = args ? args.extensionName : undefined; inputs["forceUpdateTag"] = args ? args.forceUpdateTag : undefined; - inputs["instanceView"] = args ? args.instanceView : undefined; inputs["location"] = args ? args.location : undefined; inputs["name"] = args ? args.name : undefined; inputs["protectedSettings"] = args ? args.protectedSettings : undefined; @@ -123,6 +122,7 @@ export class MachineExtension extends pulumi.CustomResource { inputs["tags"] = args ? args.tags : undefined; inputs["type"] = args ? args.type : undefined; inputs["typeHandlerVersion"] = args ? args.typeHandlerVersion : undefined; + inputs["instanceView"] = undefined /*out*/; inputs["provisioningState"] = undefined /*out*/; } if (!opts) { @@ -154,10 +154,6 @@ export interface MachineExtensionArgs { * How the extension handler should be forced to update even if the extension configuration has not changed. */ readonly forceUpdateTag?: pulumi.Input; - /** - * The machine extension instance view. - */ - readonly instanceView?: pulumi.Input; /** * The geo-location where the resource lives */ diff --git a/sdk/nodejs/hybridcompute/v20200802/getMachine.ts b/sdk/nodejs/hybridcompute/v20200802/getMachine.ts index a0be0bdeeea2..47e807ad7b8e 100644 --- a/sdk/nodejs/hybridcompute/v20200802/getMachine.ts +++ b/sdk/nodejs/hybridcompute/v20200802/getMachine.ts @@ -71,7 +71,7 @@ export interface GetMachineResult { /** * Machine Extensions information */ - readonly extensions?: outputs.hybridcompute.v20200802.MachineExtensionInstanceViewResponse[]; + readonly extensions: outputs.hybridcompute.v20200802.MachineExtensionInstanceViewResponse[]; readonly identity?: outputs.hybridcompute.v20200802.MachineResponseIdentity; /** * The time of the last status change. diff --git a/sdk/nodejs/hybridcompute/v20200802/machine.ts b/sdk/nodejs/hybridcompute/v20200802/machine.ts index d9617e45b9be..acc8f63b0297 100644 --- a/sdk/nodejs/hybridcompute/v20200802/machine.ts +++ b/sdk/nodejs/hybridcompute/v20200802/machine.ts @@ -67,7 +67,7 @@ export class Machine extends pulumi.CustomResource { /** * Machine Extensions information */ - public readonly extensions!: pulumi.Output; + public /*out*/ readonly extensions!: pulumi.Output; public readonly identity!: pulumi.Output; /** * The time of the last status change. @@ -153,7 +153,6 @@ export class Machine extends pulumi.CustomResource { throw new Error("Missing required property 'resourceGroupName'"); } inputs["clientPublicKey"] = args ? args.clientPublicKey : undefined; - inputs["extensions"] = args ? args.extensions : undefined; inputs["identity"] = args ? args.identity : undefined; inputs["location"] = args ? args.location : undefined; inputs["locationData"] = args ? args.locationData : undefined; @@ -167,6 +166,7 @@ export class Machine extends pulumi.CustomResource { inputs["dnsFqdn"] = undefined /*out*/; inputs["domainName"] = undefined /*out*/; inputs["errorDetails"] = undefined /*out*/; + inputs["extensions"] = undefined /*out*/; inputs["lastStatusChange"] = undefined /*out*/; inputs["machineFqdn"] = undefined /*out*/; inputs["osName"] = undefined /*out*/; @@ -199,10 +199,6 @@ export interface MachineArgs { * Public Key that the client provides to be used during initial resource onboarding */ readonly clientPublicKey?: pulumi.Input; - /** - * Machine Extensions information - */ - readonly extensions?: pulumi.Input[]>; readonly identity?: pulumi.Input; /** * The geo-location where the resource lives diff --git a/sdk/nodejs/hybridcompute/v20200802/machineExtension.ts b/sdk/nodejs/hybridcompute/v20200802/machineExtension.ts index 33d7e0898302..41d334226b0f 100644 --- a/sdk/nodejs/hybridcompute/v20200802/machineExtension.ts +++ b/sdk/nodejs/hybridcompute/v20200802/machineExtension.ts @@ -47,7 +47,7 @@ export class MachineExtension extends pulumi.CustomResource { /** * The machine extension instance view. */ - public readonly instanceView!: pulumi.Output; + public /*out*/ readonly instanceView!: pulumi.Output; /** * The geo-location where the resource lives */ @@ -113,7 +113,6 @@ export class MachineExtension extends pulumi.CustomResource { inputs["autoUpgradeMinorVersion"] = args ? args.autoUpgradeMinorVersion : undefined; inputs["extensionName"] = args ? args.extensionName : undefined; inputs["forceUpdateTag"] = args ? args.forceUpdateTag : undefined; - inputs["instanceView"] = args ? args.instanceView : undefined; inputs["location"] = args ? args.location : undefined; inputs["name"] = args ? args.name : undefined; inputs["protectedSettings"] = args ? args.protectedSettings : undefined; @@ -123,6 +122,7 @@ export class MachineExtension extends pulumi.CustomResource { inputs["tags"] = args ? args.tags : undefined; inputs["type"] = args ? args.type : undefined; inputs["typeHandlerVersion"] = args ? args.typeHandlerVersion : undefined; + inputs["instanceView"] = undefined /*out*/; inputs["provisioningState"] = undefined /*out*/; } if (!opts) { @@ -154,10 +154,6 @@ export interface MachineExtensionArgs { * How the extension handler should be forced to update even if the extension configuration has not changed. */ readonly forceUpdateTag?: pulumi.Input; - /** - * The machine extension instance view. - */ - readonly instanceView?: pulumi.Input; /** * The geo-location where the resource lives */ diff --git a/sdk/nodejs/search/latest/getService.ts b/sdk/nodejs/search/latest/getService.ts index b251c68b5d19..8d30f6fbd9f1 100644 --- a/sdk/nodejs/search/latest/getService.ts +++ b/sdk/nodejs/search/latest/getService.ts @@ -56,7 +56,7 @@ export interface GetServiceResult { */ readonly networkRuleSet?: outputs.search.latest.NetworkRuleSetResponse; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: number; /** @@ -64,7 +64,7 @@ export interface GetServiceResult { */ readonly privateEndpointConnections: outputs.search.latest.PrivateEndpointConnectionResponse[]; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ readonly provisioningState: string; /** @@ -72,7 +72,7 @@ export interface GetServiceResult { */ readonly publicNetworkAccess?: string; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: number; /** @@ -84,11 +84,11 @@ export interface GetServiceResult { */ readonly sku?: outputs.search.latest.SkuResponse; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ readonly status: string; /** - * The details of the Search service status. + * The details of the search service status. */ readonly statusDetails: string; /** diff --git a/sdk/nodejs/search/latest/listAdminKey.ts b/sdk/nodejs/search/latest/listAdminKey.ts index 1e287818ddb3..beaac35ddcfe 100644 --- a/sdk/nodejs/search/latest/listAdminKey.ts +++ b/sdk/nodejs/search/latest/listAdminKey.ts @@ -36,11 +36,11 @@ export interface ListAdminKeyArgs { */ export interface ListAdminKeyResult { /** - * The primary admin API key of the Search service. + * The primary admin API key of the search service. */ readonly primaryKey: string; /** - * The secondary admin API key of the Search service. + * The secondary admin API key of the search service. */ readonly secondaryKey: string; } diff --git a/sdk/nodejs/search/latest/service.ts b/sdk/nodejs/search/latest/service.ts index bfcf72f67eda..74574827f8f7 100644 --- a/sdk/nodejs/search/latest/service.ts +++ b/sdk/nodejs/search/latest/service.ts @@ -57,7 +57,7 @@ export class Service extends pulumi.CustomResource { */ public readonly networkRuleSet!: pulumi.Output; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ public readonly partitionCount!: pulumi.Output; /** @@ -65,7 +65,7 @@ export class Service extends pulumi.CustomResource { */ public /*out*/ readonly privateEndpointConnections!: pulumi.Output; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ public /*out*/ readonly provisioningState!: pulumi.Output; /** @@ -73,7 +73,7 @@ export class Service extends pulumi.CustomResource { */ public readonly publicNetworkAccess!: pulumi.Output; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ public readonly replicaCount!: pulumi.Output; /** @@ -85,11 +85,11 @@ export class Service extends pulumi.CustomResource { */ public readonly sku!: pulumi.Output; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ public /*out*/ readonly status!: pulumi.Output; /** - * The details of the Search service status. + * The details of the search service status. */ public /*out*/ readonly statusDetails!: pulumi.Output; /** @@ -176,7 +176,7 @@ export interface ServiceArgs { */ readonly networkRuleSet?: pulumi.Input; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: pulumi.Input; /** @@ -184,7 +184,7 @@ export interface ServiceArgs { */ readonly publicNetworkAccess?: pulumi.Input; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: pulumi.Input; /** diff --git a/sdk/nodejs/search/v20200801/getService.ts b/sdk/nodejs/search/v20200801/getService.ts index 7ebd8e50ea9e..b7dc6975b875 100644 --- a/sdk/nodejs/search/v20200801/getService.ts +++ b/sdk/nodejs/search/v20200801/getService.ts @@ -56,7 +56,7 @@ export interface GetServiceResult { */ readonly networkRuleSet?: outputs.search.v20200801.NetworkRuleSetResponse; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: number; /** @@ -64,7 +64,7 @@ export interface GetServiceResult { */ readonly privateEndpointConnections: outputs.search.v20200801.PrivateEndpointConnectionResponse[]; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ readonly provisioningState: string; /** @@ -72,7 +72,7 @@ export interface GetServiceResult { */ readonly publicNetworkAccess?: string; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: number; /** @@ -84,11 +84,11 @@ export interface GetServiceResult { */ readonly sku?: outputs.search.v20200801.SkuResponse; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ readonly status: string; /** - * The details of the Search service status. + * The details of the search service status. */ readonly statusDetails: string; /** diff --git a/sdk/nodejs/search/v20200801/listAdminKey.ts b/sdk/nodejs/search/v20200801/listAdminKey.ts index 4e971cf2b2dc..cc1f460f4410 100644 --- a/sdk/nodejs/search/v20200801/listAdminKey.ts +++ b/sdk/nodejs/search/v20200801/listAdminKey.ts @@ -36,11 +36,11 @@ export interface ListAdminKeyArgs { */ export interface ListAdminKeyResult { /** - * The primary admin API key of the Search service. + * The primary admin API key of the search service. */ readonly primaryKey: string; /** - * The secondary admin API key of the Search service. + * The secondary admin API key of the search service. */ readonly secondaryKey: string; } diff --git a/sdk/nodejs/search/v20200801/service.ts b/sdk/nodejs/search/v20200801/service.ts index ca2000f010a3..188eaebc3ddd 100644 --- a/sdk/nodejs/search/v20200801/service.ts +++ b/sdk/nodejs/search/v20200801/service.ts @@ -57,7 +57,7 @@ export class Service extends pulumi.CustomResource { */ public readonly networkRuleSet!: pulumi.Output; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ public readonly partitionCount!: pulumi.Output; /** @@ -65,7 +65,7 @@ export class Service extends pulumi.CustomResource { */ public /*out*/ readonly privateEndpointConnections!: pulumi.Output; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ public /*out*/ readonly provisioningState!: pulumi.Output; /** @@ -73,7 +73,7 @@ export class Service extends pulumi.CustomResource { */ public readonly publicNetworkAccess!: pulumi.Output; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ public readonly replicaCount!: pulumi.Output; /** @@ -85,11 +85,11 @@ export class Service extends pulumi.CustomResource { */ public readonly sku!: pulumi.Output; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ public /*out*/ readonly status!: pulumi.Output; /** - * The details of the Search service status. + * The details of the search service status. */ public /*out*/ readonly statusDetails!: pulumi.Output; /** @@ -176,7 +176,7 @@ export interface ServiceArgs { */ readonly networkRuleSet?: pulumi.Input; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: pulumi.Input; /** @@ -184,7 +184,7 @@ export interface ServiceArgs { */ readonly publicNetworkAccess?: pulumi.Input; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: pulumi.Input; /** diff --git a/sdk/nodejs/search/v20200801preview/getService.ts b/sdk/nodejs/search/v20200801preview/getService.ts index a088e0d5627c..13a24bd0d732 100644 --- a/sdk/nodejs/search/v20200801preview/getService.ts +++ b/sdk/nodejs/search/v20200801preview/getService.ts @@ -56,7 +56,7 @@ export interface GetServiceResult { */ readonly networkRuleSet?: outputs.search.v20200801preview.NetworkRuleSetResponse; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: number; /** @@ -64,7 +64,7 @@ export interface GetServiceResult { */ readonly privateEndpointConnections: outputs.search.v20200801preview.PrivateEndpointConnectionResponse[]; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ readonly provisioningState: string; /** @@ -72,7 +72,7 @@ export interface GetServiceResult { */ readonly publicNetworkAccess?: string; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: number; /** @@ -84,11 +84,11 @@ export interface GetServiceResult { */ readonly sku?: outputs.search.v20200801preview.SkuResponse; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ readonly status: string; /** - * The details of the Search service status. + * The details of the search service status. */ readonly statusDetails: string; /** diff --git a/sdk/nodejs/search/v20200801preview/listAdminKey.ts b/sdk/nodejs/search/v20200801preview/listAdminKey.ts index 73d698977f56..d0f01460cda0 100644 --- a/sdk/nodejs/search/v20200801preview/listAdminKey.ts +++ b/sdk/nodejs/search/v20200801preview/listAdminKey.ts @@ -36,11 +36,11 @@ export interface ListAdminKeyArgs { */ export interface ListAdminKeyResult { /** - * The primary admin API key of the Search service. + * The primary admin API key of the search service. */ readonly primaryKey: string; /** - * The secondary admin API key of the Search service. + * The secondary admin API key of the search service. */ readonly secondaryKey: string; } diff --git a/sdk/nodejs/search/v20200801preview/service.ts b/sdk/nodejs/search/v20200801preview/service.ts index abaf4db844e7..8bed71a0bb34 100644 --- a/sdk/nodejs/search/v20200801preview/service.ts +++ b/sdk/nodejs/search/v20200801preview/service.ts @@ -57,7 +57,7 @@ export class Service extends pulumi.CustomResource { */ public readonly networkRuleSet!: pulumi.Output; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ public readonly partitionCount!: pulumi.Output; /** @@ -65,7 +65,7 @@ export class Service extends pulumi.CustomResource { */ public /*out*/ readonly privateEndpointConnections!: pulumi.Output; /** - * The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. */ public /*out*/ readonly provisioningState!: pulumi.Output; /** @@ -73,7 +73,7 @@ export class Service extends pulumi.CustomResource { */ public readonly publicNetworkAccess!: pulumi.Output; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ public readonly replicaCount!: pulumi.Output; /** @@ -85,11 +85,11 @@ export class Service extends pulumi.CustomResource { */ public readonly sku!: pulumi.Output; /** - * The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. */ public /*out*/ readonly status!: pulumi.Output; /** - * The details of the Search service status. + * The details of the search service status. */ public /*out*/ readonly statusDetails!: pulumi.Output; /** @@ -176,7 +176,7 @@ export interface ServiceArgs { */ readonly networkRuleSet?: pulumi.Input; /** - * The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */ readonly partitionCount?: pulumi.Input; /** @@ -184,7 +184,7 @@ export interface ServiceArgs { */ readonly publicNetworkAccess?: pulumi.Input; /** - * The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */ readonly replicaCount?: pulumi.Input; /** diff --git a/sdk/nodejs/securityinsights/v20190101preview/getThreatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20190101preview/getThreatIntelligenceIndicator.ts new file mode 100644 index 000000000000..567b1a69d7ca --- /dev/null +++ b/sdk/nodejs/securityinsights/v20190101preview/getThreatIntelligenceIndicator.ts @@ -0,0 +1,64 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +export function getThreatIntelligenceIndicator(args: GetThreatIntelligenceIndicatorArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator", { + "name": args.name, + "operationalInsightsResourceProvider": args.operationalInsightsResourceProvider, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetThreatIntelligenceIndicatorArgs { + /** + * Threat Intelligence Identifier + */ + readonly name: string; + /** + * The namespace of workspaces resource provider- Microsoft.OperationalInsights. + */ + readonly operationalInsightsResourceProvider: string; + /** + * The name of the resource group within the user's subscription. The name is case insensitive. + */ + readonly resourceGroupName: string; + /** + * The name of the workspace. + */ + readonly workspaceName: string; +} + +/** + * Threat intelligence resource. + */ +export interface GetThreatIntelligenceIndicatorResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The kind of the entity. + */ + readonly kind: string; + /** + * Azure resource name + */ + readonly name: string; + /** + * Azure resource type + */ + readonly type: string; +} diff --git a/sdk/nodejs/securityinsights/v20190101preview/index.ts b/sdk/nodejs/securityinsights/v20190101preview/index.ts index c3e1b4a51e91..6a2e7bed904d 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/index.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/index.ts @@ -19,8 +19,10 @@ export * from "./getDataConnector"; export * from "./getIncident"; export * from "./getIncidentRelationRelation"; export * from "./getProductSetting"; +export * from "./getThreatIntelligenceIndicator"; export * from "./getWatchlist"; export * from "./incident"; export * from "./incidentRelationRelation"; export * from "./productSetting"; +export * from "./threatIntelligenceIndicator"; export * from "./watchlist"; diff --git a/sdk/nodejs/securityinsights/v20190101preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20190101preview/threatIntelligenceIndicator.ts new file mode 100644 index 000000000000..c295a059b729 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20190101preview/threatIntelligenceIndicator.ts @@ -0,0 +1,236 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as utilities from "../../utilities"; + +/** + * Threat intelligence resource. + */ +export class ThreatIntelligenceIndicator extends pulumi.CustomResource { + /** + * Get an existing ThreatIntelligenceIndicator resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ThreatIntelligenceIndicator { + return new ThreatIntelligenceIndicator(name, undefined, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator'; + + /** + * Returns true if the given object is an instance of ThreatIntelligenceIndicator. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ThreatIntelligenceIndicator { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ThreatIntelligenceIndicator.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public readonly etag!: pulumi.Output; + /** + * The kind of the entity. + */ + public readonly kind!: pulumi.Output; + /** + * Azure resource name + */ + public readonly name!: pulumi.Output; + /** + * Azure resource type + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ThreatIntelligenceIndicator resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ThreatIntelligenceIndicatorArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, state: undefined, opts: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ThreatIntelligenceIndicatorArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + const args = argsOrState as ThreatIntelligenceIndicatorArgs | undefined; + if (!args || args.kind === undefined) { + throw new Error("Missing required property 'kind'"); + } + if (!args || args.name === undefined) { + throw new Error("Missing required property 'name'"); + } + if (!args || args.operationalInsightsResourceProvider === undefined) { + throw new Error("Missing required property 'operationalInsightsResourceProvider'"); + } + if (!args || args.resourceGroupName === undefined) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if (!args || args.workspaceName === undefined) { + throw new Error("Missing required property 'workspaceName'"); + } + inputs["confidence"] = args ? args.confidence : undefined; + inputs["created"] = args ? args.created : undefined; + inputs["createdByRef"] = args ? args.createdByRef : undefined; + inputs["description"] = args ? args.description : undefined; + inputs["displayName"] = args ? args.displayName : undefined; + inputs["etag"] = args ? args.etag : undefined; + inputs["externalId"] = args ? args.externalId : undefined; + inputs["externalReferences"] = args ? args.externalReferences : undefined; + inputs["granularMarkings"] = args ? args.granularMarkings : undefined; + inputs["indicatorTypes"] = args ? args.indicatorTypes : undefined; + inputs["killChainPhases"] = args ? args.killChainPhases : undefined; + inputs["kind"] = args ? args.kind : undefined; + inputs["labels"] = args ? args.labels : undefined; + inputs["lastUpdatedTimeUtc"] = args ? args.lastUpdatedTimeUtc : undefined; + inputs["modified"] = args ? args.modified : undefined; + inputs["name"] = args ? args.name : undefined; + inputs["operationalInsightsResourceProvider"] = args ? args.operationalInsightsResourceProvider : undefined; + inputs["pattern"] = args ? args.pattern : undefined; + inputs["patternType"] = args ? args.patternType : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["revoked"] = args ? args.revoked : undefined; + inputs["source"] = args ? args.source : undefined; + inputs["threatIntelligenceTags"] = args ? args.threatIntelligenceTags : undefined; + inputs["threatTypes"] = args ? args.threatTypes : undefined; + inputs["validFrom"] = args ? args.validFrom : undefined; + inputs["validUntil"] = args ? args.validUntil : undefined; + inputs["workspaceName"] = args ? args.workspaceName : undefined; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + super(ThreatIntelligenceIndicator.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a ThreatIntelligenceIndicator resource. + */ +export interface ThreatIntelligenceIndicatorArgs { + /** + * Confidence of threat intelligence entity + */ + readonly confidence?: pulumi.Input; + /** + * Created by + */ + readonly created?: pulumi.Input; + /** + * Created by reference of threat intelligence entity + */ + readonly createdByRef?: pulumi.Input; + /** + * Description of a threat intelligence entity + */ + readonly description?: pulumi.Input; + /** + * Display name of a threat intelligence entity + */ + readonly displayName?: pulumi.Input; + /** + * Etag of the azure resource + */ + readonly etag?: pulumi.Input; + /** + * External ID of threat intelligence entity + */ + readonly externalId?: pulumi.Input; + /** + * External References + */ + readonly externalReferences?: pulumi.Input[]>; + /** + * Granular Markings + */ + readonly granularMarkings?: pulumi.Input[]>; + /** + * Indicator types of threat intelligence entities + */ + readonly indicatorTypes?: pulumi.Input[]>; + /** + * Kill chain phases + */ + readonly killChainPhases?: pulumi.Input[]>; + /** + * The kind of the entity. + */ + readonly kind: pulumi.Input; + /** + * Labels of threat intelligence entity + */ + readonly labels?: pulumi.Input[]>; + /** + * Last updated time in UTC + */ + readonly lastUpdatedTimeUtc?: pulumi.Input; + /** + * Modified by + */ + readonly modified?: pulumi.Input; + /** + * Threat Intelligence Identifier + */ + readonly name: pulumi.Input; + /** + * The namespace of workspaces resource provider- Microsoft.OperationalInsights. + */ + readonly operationalInsightsResourceProvider: pulumi.Input; + /** + * Pattern of a threat intelligence entity + */ + readonly pattern?: pulumi.Input; + /** + * Pattern type of a threat intelligence entity + */ + readonly patternType?: pulumi.Input; + /** + * The name of the resource group within the user's subscription. The name is case insensitive. + */ + readonly resourceGroupName: pulumi.Input; + /** + * Is threat intelligence entity revoked + */ + readonly revoked?: pulumi.Input; + /** + * Source of a threat intelligence entity + */ + readonly source?: pulumi.Input; + /** + * List of tags + */ + readonly threatIntelligenceTags?: pulumi.Input[]>; + /** + * Threat types + */ + readonly threatTypes?: pulumi.Input[]>; + /** + * Valid from + */ + readonly validFrom?: pulumi.Input; + /** + * Valid until + */ + readonly validUntil?: pulumi.Input; + /** + * The name of the workspace. + */ + readonly workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/synapse/v20190601preview/getIntegrationRuntime.ts b/sdk/nodejs/synapse/v20190601preview/getIntegrationRuntime.ts index 1cbb3a051e4b..0bf3982c8a03 100644 --- a/sdk/nodejs/synapse/v20190601preview/getIntegrationRuntime.ts +++ b/sdk/nodejs/synapse/v20190601preview/getIntegrationRuntime.ts @@ -41,11 +41,11 @@ export interface GetIntegrationRuntimeArgs { */ export interface GetIntegrationRuntimeResult { /** - * Etag identifies change in the resource. + * Resource Etag. */ readonly etag: string; /** - * The resource name. + * The name of the resource */ readonly name: string; /** @@ -53,7 +53,7 @@ export interface GetIntegrationRuntimeResult { */ readonly properties: outputs.synapse.v20190601preview.IntegrationRuntimeResponse; /** - * The resource type. + * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: string; } diff --git a/sdk/nodejs/synapse/v20190601preview/integrationRuntime.ts b/sdk/nodejs/synapse/v20190601preview/integrationRuntime.ts index e7e50bbcb472..791ac3c7de52 100644 --- a/sdk/nodejs/synapse/v20190601preview/integrationRuntime.ts +++ b/sdk/nodejs/synapse/v20190601preview/integrationRuntime.ts @@ -37,11 +37,11 @@ export class IntegrationRuntime extends pulumi.CustomResource { } /** - * Etag identifies change in the resource. + * Resource Etag. */ public /*out*/ readonly etag!: pulumi.Output; /** - * The resource name. + * The name of the resource */ public /*out*/ readonly name!: pulumi.Output; /** @@ -49,7 +49,7 @@ export class IntegrationRuntime extends pulumi.CustomResource { */ public readonly properties!: pulumi.Output; /** - * The resource type. + * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ public /*out*/ readonly type!: pulumi.Output; diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 9bac166b307a..2fee8aa2215d 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -3008,6 +3008,17 @@ "devices/v20200710preview/listIotHubResourceKeys.ts", "devices/v20200710preview/listIotHubResourceKeysForKeyName.ts", "devices/v20200710preview/privateEndpointConnection.ts", + "devices/v20200801/certificate.ts", + "devices/v20200801/getCertificate.ts", + "devices/v20200801/getIotHubResource.ts", + "devices/v20200801/getIotHubResourceEventHubConsumerGroup.ts", + "devices/v20200801/getPrivateEndpointConnection.ts", + "devices/v20200801/index.ts", + "devices/v20200801/iotHubResource.ts", + "devices/v20200801/iotHubResourceEventHubConsumerGroup.ts", + "devices/v20200801/listIotHubResourceKeys.ts", + "devices/v20200801/listIotHubResourceKeysForKeyName.ts", + "devices/v20200801/privateEndpointConnection.ts", "devops/index.ts", "devops/v20190701preview/getPipeline.ts", "devops/v20190701preview/index.ts", @@ -8747,11 +8758,13 @@ "securityinsights/v20190101preview/getIncident.ts", "securityinsights/v20190101preview/getIncidentRelationRelation.ts", "securityinsights/v20190101preview/getProductSetting.ts", + "securityinsights/v20190101preview/getThreatIntelligenceIndicator.ts", "securityinsights/v20190101preview/getWatchlist.ts", "securityinsights/v20190101preview/incident.ts", "securityinsights/v20190101preview/incidentRelationRelation.ts", "securityinsights/v20190101preview/index.ts", "securityinsights/v20190101preview/productSetting.ts", + "securityinsights/v20190101preview/threatIntelligenceIndicator.ts", "securityinsights/v20190101preview/watchlist.ts", "servicebus/index.ts", "servicebus/latest/disasterRecoveryConfig.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index c543f1d30876..68a8d005df7a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -64721,6 +64721,551 @@ export namespace devices { } } + + export namespace v20200801 { + /** + * The description of an X509 CA Certificate. + */ + export interface CertificateProperties { + /** + * The certificate content + */ + certificate?: pulumi.Input; + } + + /** + * The IoT hub cloud-to-device messaging properties. + */ + export interface CloudToDeviceProperties { + /** + * The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + defaultTtlAsIso8601?: pulumi.Input; + /** + * The properties of the feedback queue for cloud-to-device messages. + */ + feedback?: pulumi.Input; + /** + * The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + maxDeliveryCount?: pulumi.Input; + } + + /** + * The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + */ + export interface EnrichmentProperties { + /** + * The list of endpoints for which the enrichment is applied to the message. + */ + endpointNames: pulumi.Input[]>; + /** + * The key or name for the enrichment property. + */ + key: pulumi.Input; + /** + * The value for the enrichment property. + */ + value: pulumi.Input; + } + + /** + * The EventHub consumer group name. + */ + export interface EventHubConsumerGroupName { + /** + * EventHub consumer group name + */ + name?: pulumi.Input; + } + + /** + * The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + */ + export interface EventHubProperties { + /** + * The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + */ + partitionCount?: pulumi.Input; + /** + * The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + */ + retentionTimeInDays?: pulumi.Input; + } + + /** + * The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + */ + export interface FallbackRouteProperties { + /** + * The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + */ + condition?: pulumi.Input; + /** + * The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + */ + endpointNames: pulumi.Input[]>; + /** + * Used to specify whether the fallback route is enabled. + */ + isEnabled: pulumi.Input; + /** + * The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + */ + name?: pulumi.Input; + /** + * The source to which the routing rule is to be applied to. For example, DeviceMessages + */ + source: pulumi.Input; + } + + /** + * The properties of the feedback queue for cloud-to-device messages. + */ + export interface FeedbackProperties { + /** + * The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + lockDurationAsIso8601?: pulumi.Input; + /** + * The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + maxDeliveryCount?: pulumi.Input; + /** + * The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + ttlAsIso8601?: pulumi.Input; + } + + /** + * The properties of an IoT hub. + */ + export interface IotHubProperties { + /** + * The shared access policies you can use to secure a connection to the IoT hub. + */ + authorizationPolicies?: pulumi.Input[]>; + /** + * The IoT hub cloud-to-device messaging properties. + */ + cloudToDevice?: pulumi.Input; + /** + * IoT hub comments. + */ + comments?: pulumi.Input; + /** + * If True, file upload notifications are enabled. + */ + enableFileUploadNotifications?: pulumi.Input; + /** + * The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + */ + eventHubEndpoints?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The capabilities and features enabled for the IoT hub. + */ + features?: pulumi.Input; + /** + * The IP filter rules. + */ + ipFilterRules?: pulumi.Input[]>; + /** + * The messaging endpoint properties for the file upload notification queue. + */ + messagingEndpoints?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + */ + minTlsVersion?: pulumi.Input; + /** + * Private endpoint connections created on this IotHub + */ + privateEndpointConnections?: pulumi.Input[]>; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + */ + routing?: pulumi.Input; + /** + * The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + */ + storageEndpoints?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Information about the SKU of the IoT hub. + */ + export interface IotHubSkuInfo { + /** + * The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + */ + capacity?: pulumi.Input; + /** + * The name of the SKU. + */ + name: pulumi.Input; + } + + /** + * The IP filter rules for the IoT hub. + */ + export interface IpFilterRule { + /** + * The desired action for requests captured by this rule. + */ + action: pulumi.Input; + /** + * The name of the IP filter rule. + */ + filterName: pulumi.Input; + /** + * A string that contains the IP address range in CIDR notation for the rule. + */ + ipMask: pulumi.Input; + } + + /** + * The properties of the messaging endpoints used by this IoT hub. + */ + export interface MessagingEndpointProperties { + /** + * The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + lockDurationAsIso8601?: pulumi.Input; + /** + * The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + maxDeliveryCount?: pulumi.Input; + /** + * The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + ttlAsIso8601?: pulumi.Input; + } + + /** + * The private endpoint connection of an IotHub + */ + export interface PrivateEndpointConnection { + /** + * The properties of a private endpoint connection + */ + properties: pulumi.Input; + } + + /** + * The properties of a private endpoint connection + */ + export interface PrivateEndpointConnectionProperties { + /** + * The current state of a private endpoint connection + */ + privateLinkServiceConnectionState: pulumi.Input; + } + + /** + * The current state of a private endpoint connection + */ + export interface PrivateLinkServiceConnectionState { + /** + * Actions required for a private endpoint connection + */ + actionsRequired?: pulumi.Input; + /** + * The description for the current state of a private endpoint connection + */ + description: pulumi.Input; + /** + * The status of a private endpoint connection + */ + status: pulumi.Input; + } + + /** + * The properties of a routing rule that your IoT hub uses to route messages to endpoints. + */ + export interface RouteProperties { + /** + * The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + */ + condition?: pulumi.Input; + /** + * The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + */ + endpointNames: pulumi.Input[]>; + /** + * Used to specify whether a route is enabled. + */ + isEnabled: pulumi.Input; + /** + * The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + */ + name: pulumi.Input; + /** + * The source that the routing rule is to be applied to, such as DeviceMessages. + */ + source: pulumi.Input; + } + + /** + * The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + */ + export interface RoutingEndpoints { + /** + * The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + */ + eventHubs?: pulumi.Input[]>; + /** + * The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + */ + serviceBusQueues?: pulumi.Input[]>; + /** + * The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + */ + serviceBusTopics?: pulumi.Input[]>; + /** + * The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + */ + storageContainers?: pulumi.Input[]>; + } + + /** + * The properties related to an event hub endpoint. + */ + export interface RoutingEventHubProperties { + /** + * Method used to authenticate against the event hub endpoint + */ + authenticationType?: pulumi.Input; + /** + * The connection string of the event hub endpoint. + */ + connectionString?: pulumi.Input; + /** + * The url of the event hub endpoint. It must include the protocol sb:// + */ + endpointUri?: pulumi.Input; + /** + * Event hub name on the event hub namespace + */ + entityPath?: pulumi.Input; + /** + * Id of the event hub endpoint + */ + id?: pulumi.Input; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + */ + name: pulumi.Input; + /** + * The name of the resource group of the event hub endpoint. + */ + resourceGroup?: pulumi.Input; + /** + * The subscription identifier of the event hub endpoint. + */ + subscriptionId?: pulumi.Input; + } + + /** + * The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + */ + export interface RoutingProperties { + /** + * The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + */ + endpoints?: pulumi.Input; + /** + * The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + */ + enrichments?: pulumi.Input[]>; + /** + * The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + */ + fallbackRoute?: pulumi.Input; + /** + * The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + */ + routes?: pulumi.Input[]>; + } + + /** + * The properties related to service bus queue endpoint types. + */ + export interface RoutingServiceBusQueueEndpointProperties { + /** + * Method used to authenticate against the service bus queue endpoint + */ + authenticationType?: pulumi.Input; + /** + * The connection string of the service bus queue endpoint. + */ + connectionString?: pulumi.Input; + /** + * The url of the service bus queue endpoint. It must include the protocol sb:// + */ + endpointUri?: pulumi.Input; + /** + * Queue name on the service bus namespace + */ + entityPath?: pulumi.Input; + /** + * Id of the service bus queue endpoint + */ + id?: pulumi.Input; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + */ + name: pulumi.Input; + /** + * The name of the resource group of the service bus queue endpoint. + */ + resourceGroup?: pulumi.Input; + /** + * The subscription identifier of the service bus queue endpoint. + */ + subscriptionId?: pulumi.Input; + } + + /** + * The properties related to service bus topic endpoint types. + */ + export interface RoutingServiceBusTopicEndpointProperties { + /** + * Method used to authenticate against the service bus topic endpoint + */ + authenticationType?: pulumi.Input; + /** + * The connection string of the service bus topic endpoint. + */ + connectionString?: pulumi.Input; + /** + * The url of the service bus topic endpoint. It must include the protocol sb:// + */ + endpointUri?: pulumi.Input; + /** + * Queue name on the service bus topic + */ + entityPath?: pulumi.Input; + /** + * Id of the service bus topic endpoint + */ + id?: pulumi.Input; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + */ + name: pulumi.Input; + /** + * The name of the resource group of the service bus topic endpoint. + */ + resourceGroup?: pulumi.Input; + /** + * The subscription identifier of the service bus topic endpoint. + */ + subscriptionId?: pulumi.Input; + } + + /** + * The properties related to a storage container endpoint. + */ + export interface RoutingStorageContainerProperties { + /** + * Method used to authenticate against the storage endpoint + */ + authenticationType?: pulumi.Input; + /** + * Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + */ + batchFrequencyInSeconds?: pulumi.Input; + /** + * The connection string of the storage account. + */ + connectionString?: pulumi.Input; + /** + * The name of storage container in the storage account. + */ + containerName: pulumi.Input; + /** + * Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + */ + encoding?: pulumi.Input; + /** + * The url of the storage endpoint. It must include the protocol https:// + */ + endpointUri?: pulumi.Input; + /** + * File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + */ + fileNameFormat?: pulumi.Input; + /** + * Id of the storage container endpoint + */ + id?: pulumi.Input; + /** + * Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + */ + maxChunkSizeInBytes?: pulumi.Input; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + */ + name: pulumi.Input; + /** + * The name of the resource group of the storage account. + */ + resourceGroup?: pulumi.Input; + /** + * The subscription identifier of the storage account. + */ + subscriptionId?: pulumi.Input; + } + + /** + * The properties of an IoT hub shared access policy. + */ + export interface SharedAccessSignatureAuthorizationRule { + /** + * The name of the shared access policy. + */ + keyName: pulumi.Input; + /** + * The primary key. + */ + primaryKey?: pulumi.Input; + /** + * The permissions assigned to the shared access policy. + */ + rights: pulumi.Input; + /** + * The secondary key. + */ + secondaryKey?: pulumi.Input; + } + + /** + * The properties of the Azure Storage endpoint for file upload. + */ + export interface StorageEndpointProperties { + /** + * Specifies authentication type being used for connecting to the storage account. + */ + authenticationType?: pulumi.Input; + /** + * The connection string for the Azure Storage account to which files are uploaded. + */ + connectionString: pulumi.Input; + /** + * The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + */ + containerName: pulumi.Input; + /** + * The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + */ + sasTtlAsIso8601?: pulumi.Input; + } + + } } export namespace devops { @@ -76884,76 +77429,6 @@ export namespace hybridcompute { name: pulumi.Input; } - /** - * Describes the Machine Extension Instance View. - */ - export interface MachineExtensionInstanceView { - /** - * The machine extension name. - */ - name?: pulumi.Input; - /** - * Instance view status. - */ - status?: pulumi.Input; - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: pulumi.Input; - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: pulumi.Input; - } - - /** - * Instance view status. - */ - export interface MachineExtensionInstanceViewStatus { - /** - * The status code. - */ - code?: pulumi.Input; - /** - * The short localizable label for the status. - */ - displayStatus?: pulumi.Input; - /** - * The level code. - */ - level?: pulumi.Input; - /** - * The detailed status message, including for alerts and error messages. - */ - message?: pulumi.Input; - /** - * The time of the status. - */ - time?: pulumi.Input; - } - - /** - * The machine extension instance view. - */ - export interface MachineExtensionPropertiesInstanceView { - /** - * The machine extension name. - */ - name?: pulumi.Input; - /** - * Instance view status. - */ - status?: pulumi.Input; - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: pulumi.Input; - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: pulumi.Input; - } - export interface MachineIdentity { /** * The identity type. @@ -77418,76 +77893,6 @@ export namespace hybridcompute { name: pulumi.Input; } - /** - * Describes the Machine Extension Instance View. - */ - export interface MachineExtensionInstanceView { - /** - * The machine extension name. - */ - name?: pulumi.Input; - /** - * Instance view status. - */ - status?: pulumi.Input; - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: pulumi.Input; - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: pulumi.Input; - } - - /** - * Instance view status. - */ - export interface MachineExtensionInstanceViewStatus { - /** - * The status code. - */ - code?: pulumi.Input; - /** - * The short localizable label for the status. - */ - displayStatus?: pulumi.Input; - /** - * The level code. - */ - level?: pulumi.Input; - /** - * The detailed status message, including for alerts and error messages. - */ - message?: pulumi.Input; - /** - * The time of the status. - */ - time?: pulumi.Input; - } - - /** - * The machine extension instance view. - */ - export interface MachineExtensionPropertiesInstanceView { - /** - * The machine extension name. - */ - name?: pulumi.Input; - /** - * Instance view status. - */ - status?: pulumi.Input; - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: pulumi.Input; - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: pulumi.Input; - } - export interface MachineIdentity { /** * The identity type. @@ -96421,10 +96826,22 @@ export namespace machinelearningservices { * LinkedService specific properties. */ export interface LinkedServiceProps { + /** + * The creation time of the linked service. + */ + createdTime?: pulumi.Input; + /** + * Type of the link target. + */ + linkType?: pulumi.Input; /** * ResourceId of the link target of the linked service. */ - linkedServiceResourceId?: pulumi.Input; + linkedServiceResourceId: pulumi.Input; + /** + * The last modified time of the linked service. + */ + modifiedTime?: pulumi.Input; } /** @@ -215913,6 +216330,29 @@ export namespace search { status?: pulumi.Input; } + /** + * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + */ + export interface Sku { + /** + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: pulumi.Input; + } + + } + + export namespace v20150819 { + /** + * Identity for the resource. + */ + export interface Identity { + /** + * The identity type. + */ + type: pulumi.Input; + } + /** * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. */ @@ -215925,318 +216365,295 @@ export namespace search { } - export namespace v20150819 { - /** - * Identity for the resource. - */ - export interface Identity { - /** - * The identity type. - */ - type: pulumi.Input; - } - - /** - * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - */ - export interface Sku { - /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' - */ - name?: pulumi.Input; - } - - } - - export namespace v20191001preview { - /** - * Identity for the resource. - */ - export interface Identity { - /** - * The identity type. - */ - type: pulumi.Input; - } - - /** - * The IP restriction rule of the Azure Cognitive Search service. - */ - export interface IpRule { - /** - * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. - */ - value?: pulumi.Input; - } - - /** - * Network specific rules that determine how the Azure Cognitive Search service may be reached. - */ - export interface NetworkRuleSet { - /** - * The level of access to the search service endpoint. Public, the search service endpoint is reachable from the internet. Private, the search service endpoint can only be accessed via private endpoints. Default is Public. - */ - endpointAccess?: pulumi.Input; - /** - * A list of IP restriction rules that defines the inbound network access to the search service endpoint. These restriction rules are applied only when the EndpointAccess of the search service is Public. - */ - ipRules?: pulumi.Input[]>; - } - - /** - * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. - */ - export interface PrivateEndpointConnectionProperties { - /** - * The private endpoint resource from Microsoft.Network provider. - */ - privateEndpoint?: pulumi.Input; - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - privateLinkServiceConnectionState?: pulumi.Input; - } - - /** - * The private endpoint resource from Microsoft.Network provider. - */ - export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { - /** - * The resource id of the private endpoint resource from Microsoft.Network provider. - */ - id?: pulumi.Input; - } - - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { - /** - * A description of any extra actions that may be required. - */ - actionsRequired?: pulumi.Input; - /** - * The description for the private link service connection state. - */ - description?: pulumi.Input; - /** - * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. - */ - status?: pulumi.Input; - } - - /** - * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - */ - export interface Sku { - /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' - */ - name?: pulumi.Input; - } - - } - - export namespace v20200313 { - /** - * Identity for the resource. - */ - export interface Identity { - /** - * The identity type. - */ - type: pulumi.Input; - } - - /** - * The IP restriction rule of the Azure Cognitive Search service. - */ - export interface IpRule { - /** - * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. - */ - value?: pulumi.Input; - } - - /** - * Network specific rules that determine how the Azure Cognitive Search service may be reached. - */ - export interface NetworkRuleSet { - /** - * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. - */ - ipRules?: pulumi.Input[]>; - } - - /** - * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. - */ - export interface PrivateEndpointConnectionProperties { - /** - * The private endpoint resource from Microsoft.Network provider. - */ - privateEndpoint?: pulumi.Input; - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - privateLinkServiceConnectionState?: pulumi.Input; - } - - /** - * The private endpoint resource from Microsoft.Network provider. - */ - export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { - /** - * The resource id of the private endpoint resource from Microsoft.Network provider. - */ - id?: pulumi.Input; - } - - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { - /** - * A description of any extra actions that may be required. - */ - actionsRequired?: pulumi.Input; - /** - * The description for the private link service connection state. - */ - description?: pulumi.Input; - /** - * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. - */ - status?: pulumi.Input; - } - - /** - * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - */ - export interface Sku { - /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' - */ - name?: pulumi.Input; - } - - } - - export namespace v20200801 { - /** - * Identity for the resource. - */ - export interface Identity { - /** - * The identity type. - */ - type: pulumi.Input; - } - - /** - * The IP restriction rule of the Azure Cognitive Search service. - */ - export interface IpRule { - /** - * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. - */ - value?: pulumi.Input; - } - - /** - * Network specific rules that determine how the Azure Cognitive Search service may be reached. - */ - export interface NetworkRuleSet { - /** - * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. - */ - ipRules?: pulumi.Input[]>; - } - - /** - * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. - */ - export interface PrivateEndpointConnectionProperties { - /** - * The private endpoint resource from Microsoft.Network provider. - */ - privateEndpoint?: pulumi.Input; - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - privateLinkServiceConnectionState?: pulumi.Input; - } - - /** - * The private endpoint resource from Microsoft.Network provider. - */ - export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { - /** - * The resource id of the private endpoint resource from Microsoft.Network provider. - */ - id?: pulumi.Input; - } - - /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. - */ - export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { - /** - * A description of any extra actions that may be required. - */ - actionsRequired?: pulumi.Input; - /** - * The description for the private link service connection state. - */ - description?: pulumi.Input; - /** - * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. - */ - status?: pulumi.Input; - } - - /** - * Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service. - */ - export interface SharedPrivateLinkResourceProperties { - /** - * The group id from the provider of resource the shared private link resource is for. - */ - groupId?: pulumi.Input; - /** - * The resource id of the resource the shared private link resource is for. - */ - privateLinkResourceId?: pulumi.Input; - /** - * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete. - */ - provisioningState?: pulumi.Input; - /** - * The request message for requesting approval of the shared private link resource. - */ - requestMessage?: pulumi.Input; - /** - * Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). - */ - resourceRegion?: pulumi.Input; - /** - * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. - */ - status?: pulumi.Input; - } - - /** - * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - */ - export interface Sku { - /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' - */ - name?: pulumi.Input; - } - - } - + export namespace v20191001preview { + /** + * Identity for the resource. + */ + export interface Identity { + /** + * The identity type. + */ + type: pulumi.Input; + } + + /** + * The IP restriction rule of the Azure Cognitive Search service. + */ + export interface IpRule { + /** + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + */ + value?: pulumi.Input; + } + + /** + * Network specific rules that determine how the Azure Cognitive Search service may be reached. + */ + export interface NetworkRuleSet { + /** + * The level of access to the search service endpoint. Public, the search service endpoint is reachable from the internet. Private, the search service endpoint can only be accessed via private endpoints. Default is Public. + */ + endpointAccess?: pulumi.Input; + /** + * A list of IP restriction rules that defines the inbound network access to the search service endpoint. These restriction rules are applied only when the EndpointAccess of the search service is Public. + */ + ipRules?: pulumi.Input[]>; + } + + /** + * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + export interface PrivateEndpointConnectionProperties { + /** + * The private endpoint resource from Microsoft.Network provider. + */ + privateEndpoint?: pulumi.Input; + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + privateLinkServiceConnectionState?: pulumi.Input; + } + + /** + * The private endpoint resource from Microsoft.Network provider. + */ + export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { + /** + * The resource id of the private endpoint resource from Microsoft.Network provider. + */ + id?: pulumi.Input; + } + + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { + /** + * A description of any extra actions that may be required. + */ + actionsRequired?: pulumi.Input; + /** + * The description for the private link service connection state. + */ + description?: pulumi.Input; + /** + * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. + */ + status?: pulumi.Input; + } + + /** + * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + */ + export interface Sku { + /** + * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: pulumi.Input; + } + + } + + export namespace v20200313 { + /** + * Identity for the resource. + */ + export interface Identity { + /** + * The identity type. + */ + type: pulumi.Input; + } + + /** + * The IP restriction rule of the Azure Cognitive Search service. + */ + export interface IpRule { + /** + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + */ + value?: pulumi.Input; + } + + /** + * Network specific rules that determine how the Azure Cognitive Search service may be reached. + */ + export interface NetworkRuleSet { + /** + * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + */ + ipRules?: pulumi.Input[]>; + } + + /** + * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + export interface PrivateEndpointConnectionProperties { + /** + * The private endpoint resource from Microsoft.Network provider. + */ + privateEndpoint?: pulumi.Input; + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + privateLinkServiceConnectionState?: pulumi.Input; + } + + /** + * The private endpoint resource from Microsoft.Network provider. + */ + export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { + /** + * The resource id of the private endpoint resource from Microsoft.Network provider. + */ + id?: pulumi.Input; + } + + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { + /** + * A description of any extra actions that may be required. + */ + actionsRequired?: pulumi.Input; + /** + * The description for the private link service connection state. + */ + description?: pulumi.Input; + /** + * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. + */ + status?: pulumi.Input; + } + + /** + * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + */ + export interface Sku { + /** + * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: pulumi.Input; + } + + } + + export namespace v20200801 { + /** + * Identity for the resource. + */ + export interface Identity { + /** + * The identity type. + */ + type: pulumi.Input; + } + + /** + * The IP restriction rule of the Azure Cognitive Search service. + */ + export interface IpRule { + /** + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + */ + value?: pulumi.Input; + } + + /** + * Network specific rules that determine how the Azure Cognitive Search service may be reached. + */ + export interface NetworkRuleSet { + /** + * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + */ + ipRules?: pulumi.Input[]>; + } + + /** + * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + export interface PrivateEndpointConnectionProperties { + /** + * The private endpoint resource from Microsoft.Network provider. + */ + privateEndpoint?: pulumi.Input; + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + privateLinkServiceConnectionState?: pulumi.Input; + } + + /** + * The private endpoint resource from Microsoft.Network provider. + */ + export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { + /** + * The resource id of the private endpoint resource from Microsoft.Network provider. + */ + id?: pulumi.Input; + } + + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { + /** + * A description of any extra actions that may be required. + */ + actionsRequired?: pulumi.Input; + /** + * The description for the private link service connection state. + */ + description?: pulumi.Input; + /** + * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. + */ + status?: pulumi.Input; + } + + /** + * Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service. + */ + export interface SharedPrivateLinkResourceProperties { + /** + * The group id from the provider of resource the shared private link resource is for. + */ + groupId?: pulumi.Input; + /** + * The resource id of the resource the shared private link resource is for. + */ + privateLinkResourceId?: pulumi.Input; + /** + * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete. + */ + provisioningState?: pulumi.Input; + /** + * The request message for requesting approval of the shared private link resource. + */ + requestMessage?: pulumi.Input; + /** + * Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + */ + resourceRegion?: pulumi.Input; + /** + * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. + */ + status?: pulumi.Input; + } + + /** + * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + */ + export interface Sku { + /** + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: pulumi.Input; + } + + } + export namespace v20200801preview { /** * Identity for the resource. @@ -216345,7 +216762,7 @@ export namespace search { */ export interface Sku { /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' */ name?: pulumi.Input; } @@ -217779,6 +218196,38 @@ export namespace securityinsights { relationNodeId?: pulumi.Input; } + /** + * Describes threat granular marking model entity + */ + export interface ThreatIntelligenceGranularMarkingModel { + /** + * Language granular marking model + */ + language?: pulumi.Input; + /** + * marking reference granular marking model + */ + markingRef?: pulumi.Input; + /** + * granular marking model selectors + */ + selectors?: pulumi.Input[]>; + } + + /** + * Describes threat kill chain phase entity + */ + export interface ThreatIntelligenceKillChainPhase { + /** + * Kill chainName name + */ + killChainName?: pulumi.Input; + /** + * Phase name + */ + phaseName?: pulumi.Input; + } + /** * User information that made some action */ @@ -230452,6 +230901,10 @@ export namespace synapse { * SQL pool SKU */ export interface Sku { + /** + * 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. + */ + capacity?: pulumi.Input; /** * The SKU name */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index c8ee69b29b6b..34a661c16b1b 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -82596,6 +82596,636 @@ export namespace devices { sasTtlAsIso8601?: string; } } + + export namespace v20200801 { + /** + * The description of an X509 CA Certificate. + */ + export interface CertificatePropertiesResponse { + /** + * The certificate content + */ + certificate?: string; + /** + * The certificate's create date and time. + */ + created: string; + /** + * The certificate's expiration date and time. + */ + expiry: string; + /** + * Determines whether certificate has been verified. + */ + isVerified: boolean; + /** + * The certificate's subject name. + */ + subject: string; + /** + * The certificate's thumbprint. + */ + thumbprint: string; + /** + * The certificate's last update date and time. + */ + updated: string; + } + + /** + * The IoT hub cloud-to-device messaging properties. + */ + export interface CloudToDevicePropertiesResponse { + /** + * The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + defaultTtlAsIso8601?: string; + /** + * The properties of the feedback queue for cloud-to-device messages. + */ + feedback?: outputs.devices.v20200801.FeedbackPropertiesResponse; + /** + * The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + maxDeliveryCount?: number; + } + + /** + * The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + */ + export interface EnrichmentPropertiesResponse { + /** + * The list of endpoints for which the enrichment is applied to the message. + */ + endpointNames: string[]; + /** + * The key or name for the enrichment property. + */ + key: string; + /** + * The value for the enrichment property. + */ + value: string; + } + + /** + * The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + */ + export interface EventHubPropertiesResponse { + /** + * The Event Hub-compatible endpoint. + */ + endpoint: string; + /** + * The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + */ + partitionCount?: number; + /** + * The partition ids in the Event Hub-compatible endpoint. + */ + partitionIds: string[]; + /** + * The Event Hub-compatible name. + */ + path: string; + /** + * The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + */ + retentionTimeInDays?: number; + } + + /** + * The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + */ + export interface FallbackRoutePropertiesResponse { + /** + * The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + */ + condition?: string; + /** + * The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + */ + endpointNames: string[]; + /** + * Used to specify whether the fallback route is enabled. + */ + isEnabled: boolean; + /** + * The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + */ + name?: string; + /** + * The source to which the routing rule is to be applied to. For example, DeviceMessages + */ + source: string; + } + + /** + * The properties of the feedback queue for cloud-to-device messages. + */ + export interface FeedbackPropertiesResponse { + /** + * The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + lockDurationAsIso8601?: string; + /** + * The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + maxDeliveryCount?: number; + /** + * The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + */ + ttlAsIso8601?: string; + } + + /** + * Public representation of one of the locations where a resource is provisioned. + */ + export interface IotHubLocationDescriptionResponse { + /** + * The name of the Azure region + */ + location?: string; + /** + * The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + */ + role?: string; + } + + /** + * The properties of an IoT hub. + */ + export interface IotHubPropertiesResponse { + /** + * The shared access policies you can use to secure a connection to the IoT hub. + */ + authorizationPolicies?: outputs.devices.v20200801.SharedAccessSignatureAuthorizationRuleResponse[]; + /** + * The IoT hub cloud-to-device messaging properties. + */ + cloudToDevice?: outputs.devices.v20200801.CloudToDevicePropertiesResponse; + /** + * IoT hub comments. + */ + comments?: string; + /** + * If True, file upload notifications are enabled. + */ + enableFileUploadNotifications?: boolean; + /** + * The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + */ + eventHubEndpoints?: {[key: string]: outputs.devices.v20200801.EventHubPropertiesResponse}; + /** + * The capabilities and features enabled for the IoT hub. + */ + features?: string; + /** + * The name of the host. + */ + hostName: string; + /** + * The IP filter rules. + */ + ipFilterRules?: outputs.devices.v20200801.IpFilterRuleResponse[]; + /** + * Primary and secondary location for iot hub + */ + locations: outputs.devices.v20200801.IotHubLocationDescriptionResponse[]; + /** + * The messaging endpoint properties for the file upload notification queue. + */ + messagingEndpoints?: {[key: string]: outputs.devices.v20200801.MessagingEndpointPropertiesResponse}; + /** + * Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + */ + minTlsVersion?: string; + /** + * Private endpoint connections created on this IotHub + */ + privateEndpointConnections?: outputs.devices.v20200801.PrivateEndpointConnectionResponse[]; + /** + * The provisioning state. + */ + provisioningState: string; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: string; + /** + * The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + */ + routing?: outputs.devices.v20200801.RoutingPropertiesResponse; + /** + * The hub state. + */ + state: string; + /** + * The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + */ + storageEndpoints?: {[key: string]: outputs.devices.v20200801.StorageEndpointPropertiesResponse}; + } + + /** + * Information about the SKU of the IoT hub. + */ + export interface IotHubSkuInfoResponse { + /** + * The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + */ + capacity?: number; + /** + * The name of the SKU. + */ + name: string; + /** + * The billing tier for the IoT hub. + */ + tier: string; + } + + /** + * The IP filter rules for the IoT hub. + */ + export interface IpFilterRuleResponse { + /** + * The desired action for requests captured by this rule. + */ + action: string; + /** + * The name of the IP filter rule. + */ + filterName: string; + /** + * A string that contains the IP address range in CIDR notation for the rule. + */ + ipMask: string; + } + + /** + * The properties of the messaging endpoints used by this IoT hub. + */ + export interface MessagingEndpointPropertiesResponse { + /** + * The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + lockDurationAsIso8601?: string; + /** + * The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + maxDeliveryCount?: number; + /** + * The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + */ + ttlAsIso8601?: string; + } + + /** + * The properties of a private endpoint connection + */ + export interface PrivateEndpointConnectionPropertiesResponse { + /** + * The private endpoint property of a private endpoint connection + */ + privateEndpoint?: outputs.devices.v20200801.PrivateEndpointResponse; + /** + * The current state of a private endpoint connection + */ + privateLinkServiceConnectionState: outputs.devices.v20200801.PrivateLinkServiceConnectionStateResponse; + } + + /** + * The private endpoint connection of an IotHub + */ + export interface PrivateEndpointConnectionResponse { + /** + * The resource identifier. + */ + id: string; + /** + * The resource name. + */ + name: string; + /** + * The properties of a private endpoint connection + */ + properties: outputs.devices.v20200801.PrivateEndpointConnectionPropertiesResponse; + /** + * The resource type. + */ + type: string; + } + + /** + * The private endpoint property of a private endpoint connection + */ + export interface PrivateEndpointResponse { + /** + * The resource identifier. + */ + id: string; + } + + /** + * The current state of a private endpoint connection + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * Actions required for a private endpoint connection + */ + actionsRequired?: string; + /** + * The description for the current state of a private endpoint connection + */ + description: string; + /** + * The status of a private endpoint connection + */ + status: string; + } + + /** + * The properties of a routing rule that your IoT hub uses to route messages to endpoints. + */ + export interface RoutePropertiesResponse { + /** + * The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + */ + condition?: string; + /** + * The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + */ + endpointNames: string[]; + /** + * Used to specify whether a route is enabled. + */ + isEnabled: boolean; + /** + * The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + */ + name: string; + /** + * The source that the routing rule is to be applied to, such as DeviceMessages. + */ + source: string; + } + + /** + * The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + */ + export interface RoutingEndpointsResponse { + /** + * The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + */ + eventHubs?: outputs.devices.v20200801.RoutingEventHubPropertiesResponse[]; + /** + * The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + */ + serviceBusQueues?: outputs.devices.v20200801.RoutingServiceBusQueueEndpointPropertiesResponse[]; + /** + * The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + */ + serviceBusTopics?: outputs.devices.v20200801.RoutingServiceBusTopicEndpointPropertiesResponse[]; + /** + * The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + */ + storageContainers?: outputs.devices.v20200801.RoutingStorageContainerPropertiesResponse[]; + } + + /** + * The properties related to an event hub endpoint. + */ + export interface RoutingEventHubPropertiesResponse { + /** + * Method used to authenticate against the event hub endpoint + */ + authenticationType?: string; + /** + * The connection string of the event hub endpoint. + */ + connectionString?: string; + /** + * The url of the event hub endpoint. It must include the protocol sb:// + */ + endpointUri?: string; + /** + * Event hub name on the event hub namespace + */ + entityPath?: string; + /** + * Id of the event hub endpoint + */ + id?: string; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + */ + name: string; + /** + * The name of the resource group of the event hub endpoint. + */ + resourceGroup?: string; + /** + * The subscription identifier of the event hub endpoint. + */ + subscriptionId?: string; + } + + /** + * The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + */ + export interface RoutingPropertiesResponse { + /** + * The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + */ + endpoints?: outputs.devices.v20200801.RoutingEndpointsResponse; + /** + * The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + */ + enrichments?: outputs.devices.v20200801.EnrichmentPropertiesResponse[]; + /** + * The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + */ + fallbackRoute?: outputs.devices.v20200801.FallbackRoutePropertiesResponse; + /** + * The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + */ + routes?: outputs.devices.v20200801.RoutePropertiesResponse[]; + } + + /** + * The properties related to service bus queue endpoint types. + */ + export interface RoutingServiceBusQueueEndpointPropertiesResponse { + /** + * Method used to authenticate against the service bus queue endpoint + */ + authenticationType?: string; + /** + * The connection string of the service bus queue endpoint. + */ + connectionString?: string; + /** + * The url of the service bus queue endpoint. It must include the protocol sb:// + */ + endpointUri?: string; + /** + * Queue name on the service bus namespace + */ + entityPath?: string; + /** + * Id of the service bus queue endpoint + */ + id?: string; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + */ + name: string; + /** + * The name of the resource group of the service bus queue endpoint. + */ + resourceGroup?: string; + /** + * The subscription identifier of the service bus queue endpoint. + */ + subscriptionId?: string; + } + + /** + * The properties related to service bus topic endpoint types. + */ + export interface RoutingServiceBusTopicEndpointPropertiesResponse { + /** + * Method used to authenticate against the service bus topic endpoint + */ + authenticationType?: string; + /** + * The connection string of the service bus topic endpoint. + */ + connectionString?: string; + /** + * The url of the service bus topic endpoint. It must include the protocol sb:// + */ + endpointUri?: string; + /** + * Queue name on the service bus topic + */ + entityPath?: string; + /** + * Id of the service bus topic endpoint + */ + id?: string; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + */ + name: string; + /** + * The name of the resource group of the service bus topic endpoint. + */ + resourceGroup?: string; + /** + * The subscription identifier of the service bus topic endpoint. + */ + subscriptionId?: string; + } + + /** + * The properties related to a storage container endpoint. + */ + export interface RoutingStorageContainerPropertiesResponse { + /** + * Method used to authenticate against the storage endpoint + */ + authenticationType?: string; + /** + * Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + */ + batchFrequencyInSeconds?: number; + /** + * The connection string of the storage account. + */ + connectionString?: string; + /** + * The name of storage container in the storage account. + */ + containerName: string; + /** + * Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + */ + encoding?: string; + /** + * The url of the storage endpoint. It must include the protocol https:// + */ + endpointUri?: string; + /** + * File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + */ + fileNameFormat?: string; + /** + * Id of the storage container endpoint + */ + id?: string; + /** + * Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + */ + maxChunkSizeInBytes?: number; + /** + * The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + */ + name: string; + /** + * The name of the resource group of the storage account. + */ + resourceGroup?: string; + /** + * The subscription identifier of the storage account. + */ + subscriptionId?: string; + } + + /** + * The properties of an IoT hub shared access policy. + */ + export interface SharedAccessSignatureAuthorizationRuleResponse { + /** + * The name of the shared access policy. + */ + keyName: string; + /** + * The primary key. + */ + primaryKey?: string; + /** + * The permissions assigned to the shared access policy. + */ + rights: string; + /** + * The secondary key. + */ + secondaryKey?: string; + } + + /** + * The properties of the Azure Storage endpoint for file upload. + */ + export interface StorageEndpointPropertiesResponse { + /** + * Specifies authentication type being used for connecting to the storage account. + */ + authenticationType?: string; + /** + * The connection string for the Azure Storage account to which files are uploaded. + */ + connectionString: string; + /** + * The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + */ + containerName: string; + /** + * The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + */ + sasTtlAsIso8601?: string; + } + } } export namespace devops { @@ -96906,7 +97536,7 @@ export namespace hybridcompute { /** * The machine extension name. */ - name?: string; + name: string; /** * Instance view status. */ @@ -96914,11 +97544,11 @@ export namespace hybridcompute { /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; + type: string; /** * Specifies the version of the script handler. */ - typeHandlerVersion?: string; + typeHandlerVersion: string; } /** @@ -96928,23 +97558,23 @@ export namespace hybridcompute { /** * The status code. */ - code?: string; + code: string; /** * The short localizable label for the status. */ - displayStatus?: string; + displayStatus: string; /** * The level code. */ - level?: string; + level: string; /** * The detailed status message, including for alerts and error messages. */ - message?: string; + message: string; /** * The time of the status. */ - time?: string; + time: string; } /** @@ -96954,7 +97584,7 @@ export namespace hybridcompute { /** * The machine extension name. */ - name?: string; + name: string; /** * Instance view status. */ @@ -96962,11 +97592,11 @@ export namespace hybridcompute { /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; + type: string; /** * Specifies the version of the script handler. */ - typeHandlerVersion?: string; + typeHandlerVersion: string; } /** @@ -97797,7 +98427,7 @@ export namespace hybridcompute { /** * The machine extension name. */ - name?: string; + name: string; /** * Instance view status. */ @@ -97805,11 +98435,11 @@ export namespace hybridcompute { /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; + type: string; /** * Specifies the version of the script handler. */ - typeHandlerVersion?: string; + typeHandlerVersion: string; } /** @@ -97819,23 +98449,23 @@ export namespace hybridcompute { /** * The status code. */ - code?: string; + code: string; /** * The short localizable label for the status. */ - displayStatus?: string; + displayStatus: string; /** * The level code. */ - level?: string; + level: string; /** * The detailed status message, including for alerts and error messages. */ - message?: string; + message: string; /** * The time of the status. */ - time?: string; + time: string; } /** @@ -97845,7 +98475,7 @@ export namespace hybridcompute { /** * The machine extension name. */ - name?: string; + name: string; /** * Instance view status. */ @@ -97853,11 +98483,11 @@ export namespace hybridcompute { /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; + type: string; /** * Specifies the version of the script handler. */ - typeHandlerVersion?: string; + typeHandlerVersion: string; } /** @@ -120863,10 +121493,22 @@ export namespace machinelearningservices { * LinkedService specific properties. */ export interface LinkedServicePropsResponse { + /** + * The creation time of the linked service. + */ + createdTime?: string; + /** + * Type of the link target. + */ + linkType?: string; /** * ResourceId of the link target of the linked service. */ - linkedServiceResourceId?: string; + linkedServiceResourceId: string; + /** + * The last modified time of the linked service. + */ + modifiedTime?: string; } /** @@ -277754,7 +278396,7 @@ export namespace search { */ export interface SkuResponse { /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' */ name?: string; } @@ -278238,7 +278880,7 @@ export namespace search { */ export interface SkuResponse { /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' */ name?: string; } @@ -278418,7 +279060,7 @@ export namespace search { */ export interface SkuResponse { /** - * The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' */ name?: string; } @@ -298725,6 +299367,10 @@ export namespace synapse { * SQL pool SKU */ export interface SkuResponse { + /** + * 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. + */ + capacity?: number; /** * The SKU name */ diff --git a/sdk/python/pulumi_azurerm/_tables.py b/sdk/python/pulumi_azurerm/_tables.py index a539daf415b3..4b2af89a6ffb 100644 --- a/sdk/python/pulumi_azurerm/_tables.py +++ b/sdk/python/pulumi_azurerm/_tables.py @@ -1046,6 +1046,7 @@ "created_by_object_id": "createdByObjectId", "created_by_principal_id": "createdByPrincipalId", "created_by_principal_tenant_id": "createdByPrincipalTenantId", + "created_by_ref": "createdByRef", "created_by_type": "createdByType", "created_by_user": "createdByUser", "created_by_user_email_address": "createdByUserEmailAddress", @@ -1861,6 +1862,7 @@ "external_id": "externalId", "external_ip": "externalIP", "external_provider_resource_id": "externalProviderResourceId", + "external_references": "externalReferences", "external_service_fabric_id": "externalServiceFabricId", "external_subnets": "externalSubnets", "extra_properties": "extraProperties", @@ -2071,6 +2073,7 @@ "grade_name": "gradeName", "grant_types": "grantTypes", "granted_permissions": "grantedPermissions", + "granular_markings": "granularMarkings", "graph_name": "graphName", "group_application_password": "groupApplicationPassword", "group_application_receiver_id": "groupApplicationReceiverId", @@ -2306,6 +2309,7 @@ "index_type": "indexType", "indexing_mode": "indexingMode", "indexing_policy": "indexingPolicy", + "indicator_types": "indicatorTypes", "inferencing_stack_version": "inferencingStackVersion", "information_type": "informationType", "information_type_id": "informationTypeId", @@ -2617,6 +2621,8 @@ "key_version": "keyVersion", "keyspace_name": "keyspaceName", "keyvault_secret_id": "keyvaultSecretId", + "kill_chain_name": "killChainName", + "kill_chain_phases": "killChainPhases", "kpi_name": "kpiName", "kubernetes_properties": "kubernetesProperties", "kubernetes_version": "kubernetesVersion", @@ -2935,6 +2941,7 @@ "marketplace_identifier": "marketplaceIdentifier", "marketplace_offer": "marketplaceOffer", "marketplace_publisher": "marketplacePublisher", + "marking_ref": "markingRef", "mask_security_info": "maskSecurityInfo", "master_command_line_args": "masterCommandLineArgs", "master_count": "masterCount", @@ -3503,6 +3510,7 @@ "path_recommendations": "pathRecommendations", "path_rules": "pathRules", "path_suffix": "pathSuffix", + "pattern_type": "patternType", "patterns_to_match": "patternsToMatch", "pause_time_between_batches": "pauseTimeBetweenBatches", "paused_date": "pausedDate", @@ -3555,6 +3563,7 @@ "pfx_blob": "pfxBlob", "pfx_certificate": "pfxCertificate", "pfx_certificate_password": "pfxCertificatePassword", + "phase_name": "phaseName", "phone_extension": "phoneExtension", "phone_number": "phoneNumber", "php_version": "phpVersion", @@ -5099,6 +5108,8 @@ "test_migrate_state_description": "testMigrateStateDescription", "threat_intel_mode": "threatIntelMode", "threat_intel_whitelist": "threatIntelWhitelist", + "threat_intelligence_tags": "threatIntelligenceTags", + "threat_types": "threatTypes", "thres_holds": "thresHolds", "threshold_rules": "thresholdRules", "threshold_type": "thresholdType", @@ -5359,7 +5370,9 @@ "v_cores": "vCores", "v_cp_us": "vCPUs", "v_sphere_networks": "vSphereNetworks", + "valid_from": "validFrom", "valid_status_code_ranges": "validStatusCodeRanges", + "valid_until": "validUntil", "validate_certificate_chain": "validateCertificateChain", "validate_certificate_name": "validateCertificateName", "validate_character_set": "validateCharacterSet", @@ -6706,6 +6719,7 @@ "createdByObjectId": "created_by_object_id", "createdByPrincipalId": "created_by_principal_id", "createdByPrincipalTenantId": "created_by_principal_tenant_id", + "createdByRef": "created_by_ref", "createdByType": "created_by_type", "createdByUser": "created_by_user", "createdByUserEmailAddress": "created_by_user_email_address", @@ -7521,6 +7535,7 @@ "externalId": "external_id", "externalIP": "external_ip", "externalProviderResourceId": "external_provider_resource_id", + "externalReferences": "external_references", "externalServiceFabricId": "external_service_fabric_id", "externalSubnets": "external_subnets", "extraProperties": "extra_properties", @@ -7731,6 +7746,7 @@ "gradeName": "grade_name", "grantTypes": "grant_types", "grantedPermissions": "granted_permissions", + "granularMarkings": "granular_markings", "graphName": "graph_name", "groupApplicationPassword": "group_application_password", "groupApplicationReceiverId": "group_application_receiver_id", @@ -7966,6 +7982,7 @@ "indexType": "index_type", "indexingMode": "indexing_mode", "indexingPolicy": "indexing_policy", + "indicatorTypes": "indicator_types", "inferencingStackVersion": "inferencing_stack_version", "informationType": "information_type", "informationTypeId": "information_type_id", @@ -8277,6 +8294,8 @@ "keyVersion": "key_version", "keyspaceName": "keyspace_name", "keyvaultSecretId": "keyvault_secret_id", + "killChainName": "kill_chain_name", + "killChainPhases": "kill_chain_phases", "kpiName": "kpi_name", "kubernetesProperties": "kubernetes_properties", "kubernetesVersion": "kubernetes_version", @@ -8595,6 +8614,7 @@ "marketplaceIdentifier": "marketplace_identifier", "marketplaceOffer": "marketplace_offer", "marketplacePublisher": "marketplace_publisher", + "markingRef": "marking_ref", "maskSecurityInfo": "mask_security_info", "masterCommandLineArgs": "master_command_line_args", "masterCount": "master_count", @@ -9163,6 +9183,7 @@ "pathRecommendations": "path_recommendations", "pathRules": "path_rules", "pathSuffix": "path_suffix", + "patternType": "pattern_type", "patternsToMatch": "patterns_to_match", "pauseTimeBetweenBatches": "pause_time_between_batches", "pausedDate": "paused_date", @@ -9215,6 +9236,7 @@ "pfxBlob": "pfx_blob", "pfxCertificate": "pfx_certificate", "pfxCertificatePassword": "pfx_certificate_password", + "phaseName": "phase_name", "phoneExtension": "phone_extension", "phoneNumber": "phone_number", "phpVersion": "php_version", @@ -10759,6 +10781,8 @@ "testMigrateStateDescription": "test_migrate_state_description", "threatIntelMode": "threat_intel_mode", "threatIntelWhitelist": "threat_intel_whitelist", + "threatIntelligenceTags": "threat_intelligence_tags", + "threatTypes": "threat_types", "thresHolds": "thres_holds", "thresholdRules": "threshold_rules", "thresholdType": "threshold_type", @@ -11019,7 +11043,9 @@ "vCores": "v_cores", "vCPUs": "v_cp_us", "vSphereNetworks": "v_sphere_networks", + "validFrom": "valid_from", "validStatusCodeRanges": "valid_status_code_ranges", + "validUntil": "valid_until", "validateCertificateChain": "validate_certificate_chain", "validateCertificateName": "validate_certificate_name", "validateCharacterSet": "validate_character_set", diff --git a/sdk/python/pulumi_azurerm/devices/__init__.py b/sdk/python/pulumi_azurerm/devices/__init__.py index 813aaa15dc9d..1b548fe9a6d9 100644 --- a/sdk/python/pulumi_azurerm/devices/__init__.py +++ b/sdk/python/pulumi_azurerm/devices/__init__.py @@ -23,4 +23,5 @@ v20200401, v20200615, v20200710preview, + v20200801, ) diff --git a/sdk/python/pulumi_azurerm/devices/latest/certificate.py b/sdk/python/pulumi_azurerm/devices/latest/certificate.py index 5f5528166cba..0b9be88f493a 100644 --- a/sdk/python/pulumi_azurerm/devices/latest/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/latest/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/latest:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource.py index ab8f15b54e73..a717cddf9375 100644 --- a/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/latest:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource_event_hub_consumer_group.py index 2519ec0bd318..46c137f14c38 100644 --- a/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/latest/iot_hub_resource_event_hub_consumer_group.py @@ -67,7 +67,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['etag'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/latest:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/latest/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/latest/private_endpoint_connection.py index daa1ecfb96f1..cece37d8d521 100644 --- a/sdk/python/pulumi_azurerm/devices/latest/private_endpoint_connection.py +++ b/sdk/python/pulumi_azurerm/devices/latest/private_endpoint_connection.py @@ -65,7 +65,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azurerm:devices/latest:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource.py index 4ae82ca23887..cfc2ff4ee814 100644 --- a/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource.py @@ -84,7 +84,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20160203:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource_event_hub_consumer_group.py index 6e5142474d2f..6e6692c8b5a2 100644 --- a/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20160203/iot_hub_resource_event_hub_consumer_group.py @@ -62,7 +62,7 @@ def __init__(__self__, raise TypeError("Missing required property 'resource_name_'") __props__['resource_name'] = resource_name_ __props__['tags'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource.py index d7066bc58539..8be43443a92b 100644 --- a/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource.py @@ -84,7 +84,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20170119:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource_event_hub_consumer_group.py index 8f1f94e16b1c..a88af15db1b5 100644 --- a/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20170119/iot_hub_resource_event_hub_consumer_group.py @@ -62,7 +62,7 @@ def __init__(__self__, raise TypeError("Missing required property 'resource_name_'") __props__['resource_name'] = resource_name_ __props__['tags'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20170701/certificate.py b/sdk/python/pulumi_azurerm/devices/v20170701/certificate.py index 543b7a81238b..70f78e3e8cd9 100644 --- a/sdk/python/pulumi_azurerm/devices/v20170701/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20170701/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20170701:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource.py index 56e9e34140f2..517d2f837274 100644 --- a/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource.py @@ -84,7 +84,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20170701:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource_event_hub_consumer_group.py index ed53dfe4b337..0b609c24a5d1 100644 --- a/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20170701/iot_hub_resource_event_hub_consumer_group.py @@ -62,7 +62,7 @@ def __init__(__self__, raise TypeError("Missing required property 'resource_name_'") __props__['resource_name'] = resource_name_ __props__['tags'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20180122/certificate.py b/sdk/python/pulumi_azurerm/devices/v20180122/certificate.py index ce78f53cd006..9c45bff80261 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180122/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20180122/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20180122:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource.py index 9a94f4298e17..1ec4770ce4e4 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20180122:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource_event_hub_consumer_group.py index dd895ebeaa64..0a245181d1c3 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20180122/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20180401/certificate.py b/sdk/python/pulumi_azurerm/devices/v20180401/certificate.py index 056952093b74..c6cc297cd9f9 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180401/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20180401/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20180401:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource.py index 95958a951229..46648ff77c2b 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20180401:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource_event_hub_consumer_group.py index 0449e743900b..6d1114000399 100644 --- a/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20180401/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20181201preview/certificate.py b/sdk/python/pulumi_azurerm/devices/v20181201preview/certificate.py index b9b5e7c81e7f..e2915b04cd03 100644 --- a/sdk/python/pulumi_azurerm/devices/v20181201preview/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20181201preview/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20181201preview:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource.py index 0f691671baa1..9e909d97c0d8 100644 --- a/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20181201preview:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource_event_hub_consumer_group.py index b427fe9875b1..ec28071cf4af 100644 --- a/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20181201preview/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322/certificate.py b/sdk/python/pulumi_azurerm/devices/v20190322/certificate.py index dae1e88293b0..a0c677befba0 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20190322:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource.py index 0b295cfc852a..8b666f09fe87 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20190322:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource_event_hub_consumer_group.py index e6f5cdd1bd39..5910293d8f4f 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322preview/certificate.py b/sdk/python/pulumi_azurerm/devices/v20190322preview/certificate.py index b1713203729c..1dc46a0a0ccd 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322preview/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322preview/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20190322preview:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource.py index 9d39142827c2..1bd74b1a3417 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20190322preview:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource_event_hub_consumer_group.py index 3d05ed036ccf..9f0f274be6ad 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20190322preview/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20190701preview/certificate.py b/sdk/python/pulumi_azurerm/devices/v20190701preview/certificate.py index c9dd3c492122..6d64358b8182 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190701preview/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20190701preview/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20190701preview:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource.py index 182ee7d11763..25ccf2de8c8e 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20190701preview:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource_event_hub_consumer_group.py index e4f146d8d3ba..12abe6271953 100644 --- a/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20190701preview/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20191104/certificate.py b/sdk/python/pulumi_azurerm/devices/v20191104/certificate.py index 76de2870a148..a2ce26a44b2d 100644 --- a/sdk/python/pulumi_azurerm/devices/v20191104/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20191104/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20191104:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource.py index 094294b2d7b5..bcebadcd0f9d 100644 --- a/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20191104:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource_event_hub_consumer_group.py index c4fe5a693ce2..6eac48db40b6 100644 --- a/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20191104/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20200301/certificate.py b/sdk/python/pulumi_azurerm/devices/v20200301/certificate.py index d2887f318353..dd27bd0f7439 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200301/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20200301/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20200301:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource.py index 5d470cbf5c72..cff45067145c 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20200301:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource_event_hub_consumer_group.py index 3d92f5b8dfae..297881f3d35f 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20200301/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20200301/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200301/private_endpoint_connection.py index 11003791c76b..4698a7dca91f 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200301/private_endpoint_connection.py +++ b/sdk/python/pulumi_azurerm/devices/v20200301/private_endpoint_connection.py @@ -65,7 +65,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azurerm:devices/v20200301:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azurerm/devices/v20200401/certificate.py b/sdk/python/pulumi_azurerm/devices/v20200401/certificate.py index 51f7d22f07f6..ba13105f5989 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200401/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20200401/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['name'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20200401:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource.py index c7f1a8cf7389..0c8d8f89efa0 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20200401:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource_event_hub_consumer_group.py index e67ecc91425d..854b8a20e6cd 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20200401/iot_hub_resource_event_hub_consumer_group.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['properties'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20200401/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200401/private_endpoint_connection.py index 38611a0c3fb9..ef39f693db0b 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200401/private_endpoint_connection.py +++ b/sdk/python/pulumi_azurerm/devices/v20200401/private_endpoint_connection.py @@ -65,7 +65,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azurerm:devices/v20200401:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azurerm/devices/v20200615/certificate.py b/sdk/python/pulumi_azurerm/devices/v20200615/certificate.py index 776e34bb4ffe..44e45dfbc036 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200615/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20200615/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20200615:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource.py index 53d4b6a98d27..bf79a23fc578 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20200615:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource_event_hub_consumer_group.py index 3c03ffd15725..bdfe693878ee 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20200615/iot_hub_resource_event_hub_consumer_group.py @@ -67,7 +67,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['etag'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20200615/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200615/private_endpoint_connection.py index c3136590ce23..cce85540e009 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200615/private_endpoint_connection.py +++ b/sdk/python/pulumi_azurerm/devices/v20200615/private_endpoint_connection.py @@ -65,7 +65,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azurerm:devices/v20200615:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azurerm/devices/v20200710preview/certificate.py b/sdk/python/pulumi_azurerm/devices/v20200710preview/certificate.py index 0d4fae77dfad..9eb3c1c720ff 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200710preview/certificate.py +++ b/sdk/python/pulumi_azurerm/devices/v20200710preview/certificate.py @@ -64,7 +64,7 @@ def __init__(__self__, __props__['etag'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200801:Certificate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Certificate, __self__).__init__( 'azurerm:devices/v20200710preview:Certificate', diff --git a/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource.py index c4d8f2f1e29a..57512c61123b 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource.py +++ b/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource.py @@ -74,7 +74,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResource, __self__).__init__( 'azurerm:devices/v20200710preview:IotHubResource', diff --git a/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource_event_hub_consumer_group.py index c9e71bc29af7..65716750b4a2 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource_event_hub_consumer_group.py +++ b/sdk/python/pulumi_azurerm/devices/v20200710preview/iot_hub_resource_event_hub_consumer_group.py @@ -67,7 +67,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['etag'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubResourceEventHubConsumerGroup, __self__).__init__( 'azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup', diff --git a/sdk/python/pulumi_azurerm/devices/v20200710preview/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200710preview/private_endpoint_connection.py index 4f83c88d10ef..0ff10ffadee2 100644 --- a/sdk/python/pulumi_azurerm/devices/v20200710preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azurerm/devices/v20200710preview/private_endpoint_connection.py @@ -65,7 +65,7 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azurerm:devices/v20200710preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/__init__.py b/sdk/python/pulumi_azurerm/devices/v20200801/__init__.py new file mode 100644 index 000000000000..631ef6a0802a --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +# Export this package's modules as members: +from .certificate import * +from .get_certificate import * +from .get_iot_hub_resource import * +from .get_iot_hub_resource_event_hub_consumer_group import * +from .get_private_endpoint_connection import * +from .iot_hub_resource import * +from .iot_hub_resource_event_hub_consumer_group import * +from .list_iot_hub_resource_keys import * +from .list_iot_hub_resource_keys_for_key_name import * +from .private_endpoint_connection import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/_inputs.py b/sdk/python/pulumi_azurerm/devices/v20200801/_inputs.py new file mode 100644 index 000000000000..0982e761534c --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/_inputs.py @@ -0,0 +1,1809 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables + +__all__ = [ + 'CertificatePropertiesArgs', + 'CloudToDevicePropertiesArgs', + 'EnrichmentPropertiesArgs', + 'EventHubConsumerGroupNameArgs', + 'EventHubPropertiesArgs', + 'FallbackRoutePropertiesArgs', + 'FeedbackPropertiesArgs', + 'IotHubPropertiesArgs', + 'IotHubSkuInfoArgs', + 'IpFilterRuleArgs', + 'MessagingEndpointPropertiesArgs', + 'PrivateEndpointConnectionArgs', + 'PrivateEndpointConnectionPropertiesArgs', + 'PrivateLinkServiceConnectionStateArgs', + 'RoutePropertiesArgs', + 'RoutingEndpointsArgs', + 'RoutingEventHubPropertiesArgs', + 'RoutingPropertiesArgs', + 'RoutingServiceBusQueueEndpointPropertiesArgs', + 'RoutingServiceBusTopicEndpointPropertiesArgs', + 'RoutingStorageContainerPropertiesArgs', + 'SharedAccessSignatureAuthorizationRuleArgs', + 'StorageEndpointPropertiesArgs', +] + +@pulumi.input_type +class CertificatePropertiesArgs: + def __init__(__self__, *, + certificate: Optional[pulumi.Input[str]] = None): + """ + The description of an X509 CA Certificate. + :param pulumi.Input[str] certificate: The certificate content + """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + + @property + @pulumi.getter + def certificate(self) -> Optional[pulumi.Input[str]]: + """ + The certificate content + """ + return pulumi.get(self, "certificate") + + @certificate.setter + def certificate(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "certificate", value) + + +@pulumi.input_type +class CloudToDevicePropertiesArgs: + def __init__(__self__, *, + default_ttl_as_iso8601: Optional[pulumi.Input[str]] = None, + feedback: Optional[pulumi.Input['FeedbackPropertiesArgs']] = None, + max_delivery_count: Optional[pulumi.Input[float]] = None): + """ + The IoT hub cloud-to-device messaging properties. + :param pulumi.Input[str] default_ttl_as_iso8601: The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param pulumi.Input['FeedbackPropertiesArgs'] feedback: The properties of the feedback queue for cloud-to-device messages. + :param pulumi.Input[float] max_delivery_count: The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + if default_ttl_as_iso8601 is not None: + pulumi.set(__self__, "default_ttl_as_iso8601", default_ttl_as_iso8601) + if feedback is not None: + pulumi.set(__self__, "feedback", feedback) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + + @property + @pulumi.getter(name="defaultTtlAsIso8601") + def default_ttl_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "default_ttl_as_iso8601") + + @default_ttl_as_iso8601.setter + def default_ttl_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_ttl_as_iso8601", value) + + @property + @pulumi.getter + def feedback(self) -> Optional[pulumi.Input['FeedbackPropertiesArgs']]: + """ + The properties of the feedback queue for cloud-to-device messages. + """ + return pulumi.get(self, "feedback") + + @feedback.setter + def feedback(self, value: Optional[pulumi.Input['FeedbackPropertiesArgs']]): + pulumi.set(self, "feedback", value) + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[pulumi.Input[float]]: + """ + The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "max_delivery_count") + + @max_delivery_count.setter + def max_delivery_count(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_delivery_count", value) + + +@pulumi.input_type +class EnrichmentPropertiesArgs: + def __init__(__self__, *, + endpoint_names: pulumi.Input[List[pulumi.Input[str]]], + key: pulumi.Input[str], + value: pulumi.Input[str]): + """ + The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + :param pulumi.Input[List[pulumi.Input[str]]] endpoint_names: The list of endpoints for which the enrichment is applied to the message. + :param pulumi.Input[str] key: The key or name for the enrichment property. + :param pulumi.Input[str] value: The value for the enrichment property. + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> pulumi.Input[List[pulumi.Input[str]]]: + """ + The list of endpoints for which the enrichment is applied to the message. + """ + return pulumi.get(self, "endpoint_names") + + @endpoint_names.setter + def endpoint_names(self, value: pulumi.Input[List[pulumi.Input[str]]]): + pulumi.set(self, "endpoint_names", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The key or name for the enrichment property. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The value for the enrichment property. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class EventHubConsumerGroupNameArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + The EventHub consumer group name. + :param pulumi.Input[str] name: EventHub consumer group name + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + EventHub consumer group name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class EventHubPropertiesArgs: + def __init__(__self__, *, + partition_count: Optional[pulumi.Input[float]] = None, + retention_time_in_days: Optional[pulumi.Input[float]] = None): + """ + The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + :param pulumi.Input[float] partition_count: The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + :param pulumi.Input[float] retention_time_in_days: The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + """ + if partition_count is not None: + pulumi.set(__self__, "partition_count", partition_count) + if retention_time_in_days is not None: + pulumi.set(__self__, "retention_time_in_days", retention_time_in_days) + + @property + @pulumi.getter(name="partitionCount") + def partition_count(self) -> Optional[pulumi.Input[float]]: + """ + The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + """ + return pulumi.get(self, "partition_count") + + @partition_count.setter + def partition_count(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "partition_count", value) + + @property + @pulumi.getter(name="retentionTimeInDays") + def retention_time_in_days(self) -> Optional[pulumi.Input[float]]: + """ + The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + """ + return pulumi.get(self, "retention_time_in_days") + + @retention_time_in_days.setter + def retention_time_in_days(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "retention_time_in_days", value) + + +@pulumi.input_type +class FallbackRoutePropertiesArgs: + def __init__(__self__, *, + endpoint_names: pulumi.Input[List[pulumi.Input[str]]], + is_enabled: pulumi.Input[bool], + source: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + :param pulumi.Input[List[pulumi.Input[str]]] endpoint_names: The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + :param pulumi.Input[bool] is_enabled: Used to specify whether the fallback route is enabled. + :param pulumi.Input[str] source: The source to which the routing rule is to be applied to. For example, DeviceMessages + :param pulumi.Input[str] condition: The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + :param pulumi.Input[str] name: The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "source", source) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> pulumi.Input[List[pulumi.Input[str]]]: + """ + The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + """ + return pulumi.get(self, "endpoint_names") + + @endpoint_names.setter + def endpoint_names(self, value: pulumi.Input[List[pulumi.Input[str]]]): + pulumi.set(self, "endpoint_names", value) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + """ + Used to specify whether the fallback route is enabled. + """ + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) + + @property + @pulumi.getter + def source(self) -> pulumi.Input[str]: + """ + The source to which the routing rule is to be applied to. For example, DeviceMessages + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: pulumi.Input[str]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def condition(self) -> Optional[pulumi.Input[str]]: + """ + The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class FeedbackPropertiesArgs: + def __init__(__self__, *, + lock_duration_as_iso8601: Optional[pulumi.Input[str]] = None, + max_delivery_count: Optional[pulumi.Input[float]] = None, + ttl_as_iso8601: Optional[pulumi.Input[str]] = None): + """ + The properties of the feedback queue for cloud-to-device messages. + :param pulumi.Input[str] lock_duration_as_iso8601: The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param pulumi.Input[float] max_delivery_count: The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param pulumi.Input[str] ttl_as_iso8601: The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + if lock_duration_as_iso8601 is not None: + pulumi.set(__self__, "lock_duration_as_iso8601", lock_duration_as_iso8601) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + if ttl_as_iso8601 is not None: + pulumi.set(__self__, "ttl_as_iso8601", ttl_as_iso8601) + + @property + @pulumi.getter(name="lockDurationAsIso8601") + def lock_duration_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "lock_duration_as_iso8601") + + @lock_duration_as_iso8601.setter + def lock_duration_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lock_duration_as_iso8601", value) + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[pulumi.Input[float]]: + """ + The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "max_delivery_count") + + @max_delivery_count.setter + def max_delivery_count(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_delivery_count", value) + + @property + @pulumi.getter(name="ttlAsIso8601") + def ttl_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "ttl_as_iso8601") + + @ttl_as_iso8601.setter + def ttl_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ttl_as_iso8601", value) + + +@pulumi.input_type +class IotHubPropertiesArgs: + def __init__(__self__, *, + authorization_policies: Optional[pulumi.Input[List[pulumi.Input['SharedAccessSignatureAuthorizationRuleArgs']]]] = None, + cloud_to_device: Optional[pulumi.Input['CloudToDevicePropertiesArgs']] = None, + comments: Optional[pulumi.Input[str]] = None, + enable_file_upload_notifications: Optional[pulumi.Input[bool]] = None, + event_hub_endpoints: Optional[pulumi.Input[Mapping[str, pulumi.Input['EventHubPropertiesArgs']]]] = None, + features: Optional[pulumi.Input[str]] = None, + ip_filter_rules: Optional[pulumi.Input[List[pulumi.Input['IpFilterRuleArgs']]]] = None, + messaging_endpoints: Optional[pulumi.Input[Mapping[str, pulumi.Input['MessagingEndpointPropertiesArgs']]]] = None, + min_tls_version: Optional[pulumi.Input[str]] = None, + private_endpoint_connections: Optional[pulumi.Input[List[pulumi.Input['PrivateEndpointConnectionArgs']]]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + routing: Optional[pulumi.Input['RoutingPropertiesArgs']] = None, + storage_endpoints: Optional[pulumi.Input[Mapping[str, pulumi.Input['StorageEndpointPropertiesArgs']]]] = None): + """ + The properties of an IoT hub. + :param pulumi.Input[List[pulumi.Input['SharedAccessSignatureAuthorizationRuleArgs']]] authorization_policies: The shared access policies you can use to secure a connection to the IoT hub. + :param pulumi.Input['CloudToDevicePropertiesArgs'] cloud_to_device: The IoT hub cloud-to-device messaging properties. + :param pulumi.Input[str] comments: IoT hub comments. + :param pulumi.Input[bool] enable_file_upload_notifications: If True, file upload notifications are enabled. + :param pulumi.Input[Mapping[str, pulumi.Input['EventHubPropertiesArgs']]] event_hub_endpoints: The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + :param pulumi.Input[str] features: The capabilities and features enabled for the IoT hub. + :param pulumi.Input[List[pulumi.Input['IpFilterRuleArgs']]] ip_filter_rules: The IP filter rules. + :param pulumi.Input[Mapping[str, pulumi.Input['MessagingEndpointPropertiesArgs']]] messaging_endpoints: The messaging endpoint properties for the file upload notification queue. + :param pulumi.Input[str] min_tls_version: Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + :param pulumi.Input[List[pulumi.Input['PrivateEndpointConnectionArgs']]] private_endpoint_connections: Private endpoint connections created on this IotHub + :param pulumi.Input[str] public_network_access: Whether requests from Public Network are allowed + :param pulumi.Input['RoutingPropertiesArgs'] routing: The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + :param pulumi.Input[Mapping[str, pulumi.Input['StorageEndpointPropertiesArgs']]] storage_endpoints: The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + """ + if authorization_policies is not None: + pulumi.set(__self__, "authorization_policies", authorization_policies) + if cloud_to_device is not None: + pulumi.set(__self__, "cloud_to_device", cloud_to_device) + if comments is not None: + pulumi.set(__self__, "comments", comments) + if enable_file_upload_notifications is not None: + pulumi.set(__self__, "enable_file_upload_notifications", enable_file_upload_notifications) + if event_hub_endpoints is not None: + pulumi.set(__self__, "event_hub_endpoints", event_hub_endpoints) + if features is not None: + pulumi.set(__self__, "features", features) + if ip_filter_rules is not None: + pulumi.set(__self__, "ip_filter_rules", ip_filter_rules) + if messaging_endpoints is not None: + pulumi.set(__self__, "messaging_endpoints", messaging_endpoints) + if min_tls_version is not None: + pulumi.set(__self__, "min_tls_version", min_tls_version) + if private_endpoint_connections is not None: + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if routing is not None: + pulumi.set(__self__, "routing", routing) + if storage_endpoints is not None: + pulumi.set(__self__, "storage_endpoints", storage_endpoints) + + @property + @pulumi.getter(name="authorizationPolicies") + def authorization_policies(self) -> Optional[pulumi.Input[List[pulumi.Input['SharedAccessSignatureAuthorizationRuleArgs']]]]: + """ + The shared access policies you can use to secure a connection to the IoT hub. + """ + return pulumi.get(self, "authorization_policies") + + @authorization_policies.setter + def authorization_policies(self, value: Optional[pulumi.Input[List[pulumi.Input['SharedAccessSignatureAuthorizationRuleArgs']]]]): + pulumi.set(self, "authorization_policies", value) + + @property + @pulumi.getter(name="cloudToDevice") + def cloud_to_device(self) -> Optional[pulumi.Input['CloudToDevicePropertiesArgs']]: + """ + The IoT hub cloud-to-device messaging properties. + """ + return pulumi.get(self, "cloud_to_device") + + @cloud_to_device.setter + def cloud_to_device(self, value: Optional[pulumi.Input['CloudToDevicePropertiesArgs']]): + pulumi.set(self, "cloud_to_device", value) + + @property + @pulumi.getter + def comments(self) -> Optional[pulumi.Input[str]]: + """ + IoT hub comments. + """ + return pulumi.get(self, "comments") + + @comments.setter + def comments(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comments", value) + + @property + @pulumi.getter(name="enableFileUploadNotifications") + def enable_file_upload_notifications(self) -> Optional[pulumi.Input[bool]]: + """ + If True, file upload notifications are enabled. + """ + return pulumi.get(self, "enable_file_upload_notifications") + + @enable_file_upload_notifications.setter + def enable_file_upload_notifications(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_file_upload_notifications", value) + + @property + @pulumi.getter(name="eventHubEndpoints") + def event_hub_endpoints(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EventHubPropertiesArgs']]]]: + """ + The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + """ + return pulumi.get(self, "event_hub_endpoints") + + @event_hub_endpoints.setter + def event_hub_endpoints(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EventHubPropertiesArgs']]]]): + pulumi.set(self, "event_hub_endpoints", value) + + @property + @pulumi.getter + def features(self) -> Optional[pulumi.Input[str]]: + """ + The capabilities and features enabled for the IoT hub. + """ + return pulumi.get(self, "features") + + @features.setter + def features(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "features", value) + + @property + @pulumi.getter(name="ipFilterRules") + def ip_filter_rules(self) -> Optional[pulumi.Input[List[pulumi.Input['IpFilterRuleArgs']]]]: + """ + The IP filter rules. + """ + return pulumi.get(self, "ip_filter_rules") + + @ip_filter_rules.setter + def ip_filter_rules(self, value: Optional[pulumi.Input[List[pulumi.Input['IpFilterRuleArgs']]]]): + pulumi.set(self, "ip_filter_rules", value) + + @property + @pulumi.getter(name="messagingEndpoints") + def messaging_endpoints(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['MessagingEndpointPropertiesArgs']]]]: + """ + The messaging endpoint properties for the file upload notification queue. + """ + return pulumi.get(self, "messaging_endpoints") + + @messaging_endpoints.setter + def messaging_endpoints(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['MessagingEndpointPropertiesArgs']]]]): + pulumi.set(self, "messaging_endpoints", value) + + @property + @pulumi.getter(name="minTlsVersion") + def min_tls_version(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + """ + return pulumi.get(self, "min_tls_version") + + @min_tls_version.setter + def min_tls_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min_tls_version", value) + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Optional[pulumi.Input[List[pulumi.Input['PrivateEndpointConnectionArgs']]]]: + """ + Private endpoint connections created on this IotHub + """ + return pulumi.get(self, "private_endpoint_connections") + + @private_endpoint_connections.setter + def private_endpoint_connections(self, value: Optional[pulumi.Input[List[pulumi.Input['PrivateEndpointConnectionArgs']]]]): + pulumi.set(self, "private_endpoint_connections", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[str]]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter + def routing(self) -> Optional[pulumi.Input['RoutingPropertiesArgs']]: + """ + The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + """ + return pulumi.get(self, "routing") + + @routing.setter + def routing(self, value: Optional[pulumi.Input['RoutingPropertiesArgs']]): + pulumi.set(self, "routing", value) + + @property + @pulumi.getter(name="storageEndpoints") + def storage_endpoints(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['StorageEndpointPropertiesArgs']]]]: + """ + The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + """ + return pulumi.get(self, "storage_endpoints") + + @storage_endpoints.setter + def storage_endpoints(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['StorageEndpointPropertiesArgs']]]]): + pulumi.set(self, "storage_endpoints", value) + + +@pulumi.input_type +class IotHubSkuInfoArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + capacity: Optional[pulumi.Input[float]] = None): + """ + Information about the SKU of the IoT hub. + :param pulumi.Input[str] name: The name of the SKU. + :param pulumi.Input[float] capacity: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[float]]: + """ + The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "capacity", value) + + +@pulumi.input_type +class IpFilterRuleArgs: + def __init__(__self__, *, + action: pulumi.Input[str], + filter_name: pulumi.Input[str], + ip_mask: pulumi.Input[str]): + """ + The IP filter rules for the IoT hub. + :param pulumi.Input[str] action: The desired action for requests captured by this rule. + :param pulumi.Input[str] filter_name: The name of the IP filter rule. + :param pulumi.Input[str] ip_mask: A string that contains the IP address range in CIDR notation for the rule. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "filter_name", filter_name) + pulumi.set(__self__, "ip_mask", ip_mask) + + @property + @pulumi.getter + def action(self) -> pulumi.Input[str]: + """ + The desired action for requests captured by this rule. + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input[str]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="filterName") + def filter_name(self) -> pulumi.Input[str]: + """ + The name of the IP filter rule. + """ + return pulumi.get(self, "filter_name") + + @filter_name.setter + def filter_name(self, value: pulumi.Input[str]): + pulumi.set(self, "filter_name", value) + + @property + @pulumi.getter(name="ipMask") + def ip_mask(self) -> pulumi.Input[str]: + """ + A string that contains the IP address range in CIDR notation for the rule. + """ + return pulumi.get(self, "ip_mask") + + @ip_mask.setter + def ip_mask(self, value: pulumi.Input[str]): + pulumi.set(self, "ip_mask", value) + + +@pulumi.input_type +class MessagingEndpointPropertiesArgs: + def __init__(__self__, *, + lock_duration_as_iso8601: Optional[pulumi.Input[str]] = None, + max_delivery_count: Optional[pulumi.Input[float]] = None, + ttl_as_iso8601: Optional[pulumi.Input[str]] = None): + """ + The properties of the messaging endpoints used by this IoT hub. + :param pulumi.Input[str] lock_duration_as_iso8601: The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + :param pulumi.Input[float] max_delivery_count: The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + :param pulumi.Input[str] ttl_as_iso8601: The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + if lock_duration_as_iso8601 is not None: + pulumi.set(__self__, "lock_duration_as_iso8601", lock_duration_as_iso8601) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + if ttl_as_iso8601 is not None: + pulumi.set(__self__, "ttl_as_iso8601", ttl_as_iso8601) + + @property + @pulumi.getter(name="lockDurationAsIso8601") + def lock_duration_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "lock_duration_as_iso8601") + + @lock_duration_as_iso8601.setter + def lock_duration_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lock_duration_as_iso8601", value) + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[pulumi.Input[float]]: + """ + The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "max_delivery_count") + + @max_delivery_count.setter + def max_delivery_count(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_delivery_count", value) + + @property + @pulumi.getter(name="ttlAsIso8601") + def ttl_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "ttl_as_iso8601") + + @ttl_as_iso8601.setter + def ttl_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ttl_as_iso8601", value) + + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + properties: pulumi.Input['PrivateEndpointConnectionPropertiesArgs']): + """ + The private endpoint connection of an IotHub + :param pulumi.Input['PrivateEndpointConnectionPropertiesArgs'] properties: The properties of a private endpoint connection + """ + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter + def properties(self) -> pulumi.Input['PrivateEndpointConnectionPropertiesArgs']: + """ + The properties of a private endpoint connection + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: pulumi.Input['PrivateEndpointConnectionPropertiesArgs']): + pulumi.set(self, "properties", value) + + +@pulumi.input_type +class PrivateEndpointConnectionPropertiesArgs: + def __init__(__self__, *, + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + """ + The properties of a private endpoint connection + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: The current state of a private endpoint connection + """ + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + The current state of a private endpoint connection + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + description: pulumi.Input[str], + status: pulumi.Input[str], + actions_required: Optional[pulumi.Input[str]] = None): + """ + The current state of a private endpoint connection + :param pulumi.Input[str] description: The description for the current state of a private endpoint connection + :param pulumi.Input[str] status: The status of a private endpoint connection + :param pulumi.Input[str] actions_required: Actions required for a private endpoint connection + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "status", status) + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + The description for the current state of a private endpoint connection + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> pulumi.Input[str]: + """ + The status of a private endpoint connection + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: pulumi.Input[str]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[pulumi.Input[str]]: + """ + Actions required for a private endpoint connection + """ + return pulumi.get(self, "actions_required") + + @actions_required.setter + def actions_required(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "actions_required", value) + + +@pulumi.input_type +class RoutePropertiesArgs: + def __init__(__self__, *, + endpoint_names: pulumi.Input[List[pulumi.Input[str]]], + is_enabled: pulumi.Input[bool], + name: pulumi.Input[str], + source: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None): + """ + The properties of a routing rule that your IoT hub uses to route messages to endpoints. + :param pulumi.Input[List[pulumi.Input[str]]] endpoint_names: The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + :param pulumi.Input[bool] is_enabled: Used to specify whether a route is enabled. + :param pulumi.Input[str] name: The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + :param pulumi.Input[str] source: The source that the routing rule is to be applied to, such as DeviceMessages. + :param pulumi.Input[str] condition: The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "source", source) + if condition is not None: + pulumi.set(__self__, "condition", condition) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> pulumi.Input[List[pulumi.Input[str]]]: + """ + The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + """ + return pulumi.get(self, "endpoint_names") + + @endpoint_names.setter + def endpoint_names(self, value: pulumi.Input[List[pulumi.Input[str]]]): + pulumi.set(self, "endpoint_names", value) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + """ + Used to specify whether a route is enabled. + """ + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def source(self) -> pulumi.Input[str]: + """ + The source that the routing rule is to be applied to, such as DeviceMessages. + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: pulumi.Input[str]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def condition(self) -> Optional[pulumi.Input[str]]: + """ + The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", value) + + +@pulumi.input_type +class RoutingEndpointsArgs: + def __init__(__self__, *, + event_hubs: Optional[pulumi.Input[List[pulumi.Input['RoutingEventHubPropertiesArgs']]]] = None, + service_bus_queues: Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusQueueEndpointPropertiesArgs']]]] = None, + service_bus_topics: Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusTopicEndpointPropertiesArgs']]]] = None, + storage_containers: Optional[pulumi.Input[List[pulumi.Input['RoutingStorageContainerPropertiesArgs']]]] = None): + """ + The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + :param pulumi.Input[List[pulumi.Input['RoutingEventHubPropertiesArgs']]] event_hubs: The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + :param pulumi.Input[List[pulumi.Input['RoutingServiceBusQueueEndpointPropertiesArgs']]] service_bus_queues: The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + :param pulumi.Input[List[pulumi.Input['RoutingServiceBusTopicEndpointPropertiesArgs']]] service_bus_topics: The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + :param pulumi.Input[List[pulumi.Input['RoutingStorageContainerPropertiesArgs']]] storage_containers: The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + """ + if event_hubs is not None: + pulumi.set(__self__, "event_hubs", event_hubs) + if service_bus_queues is not None: + pulumi.set(__self__, "service_bus_queues", service_bus_queues) + if service_bus_topics is not None: + pulumi.set(__self__, "service_bus_topics", service_bus_topics) + if storage_containers is not None: + pulumi.set(__self__, "storage_containers", storage_containers) + + @property + @pulumi.getter(name="eventHubs") + def event_hubs(self) -> Optional[pulumi.Input[List[pulumi.Input['RoutingEventHubPropertiesArgs']]]]: + """ + The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + """ + return pulumi.get(self, "event_hubs") + + @event_hubs.setter + def event_hubs(self, value: Optional[pulumi.Input[List[pulumi.Input['RoutingEventHubPropertiesArgs']]]]): + pulumi.set(self, "event_hubs", value) + + @property + @pulumi.getter(name="serviceBusQueues") + def service_bus_queues(self) -> Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusQueueEndpointPropertiesArgs']]]]: + """ + The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + """ + return pulumi.get(self, "service_bus_queues") + + @service_bus_queues.setter + def service_bus_queues(self, value: Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusQueueEndpointPropertiesArgs']]]]): + pulumi.set(self, "service_bus_queues", value) + + @property + @pulumi.getter(name="serviceBusTopics") + def service_bus_topics(self) -> Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusTopicEndpointPropertiesArgs']]]]: + """ + The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + """ + return pulumi.get(self, "service_bus_topics") + + @service_bus_topics.setter + def service_bus_topics(self, value: Optional[pulumi.Input[List[pulumi.Input['RoutingServiceBusTopicEndpointPropertiesArgs']]]]): + pulumi.set(self, "service_bus_topics", value) + + @property + @pulumi.getter(name="storageContainers") + def storage_containers(self) -> Optional[pulumi.Input[List[pulumi.Input['RoutingStorageContainerPropertiesArgs']]]]: + """ + The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + """ + return pulumi.get(self, "storage_containers") + + @storage_containers.setter + def storage_containers(self, value: Optional[pulumi.Input[List[pulumi.Input['RoutingStorageContainerPropertiesArgs']]]]): + pulumi.set(self, "storage_containers", value) + + +@pulumi.input_type +class RoutingEventHubPropertiesArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + authentication_type: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + endpoint_uri: Optional[pulumi.Input[str]] = None, + entity_path: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The properties related to an event hub endpoint. + :param pulumi.Input[str] name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + :param pulumi.Input[str] authentication_type: Method used to authenticate against the event hub endpoint + :param pulumi.Input[str] connection_string: The connection string of the event hub endpoint. + :param pulumi.Input[str] endpoint_uri: The url of the event hub endpoint. It must include the protocol sb:// + :param pulumi.Input[str] entity_path: Event hub name on the event hub namespace + :param pulumi.Input[str] id: Id of the event hub endpoint + :param pulumi.Input[str] resource_group: The name of the resource group of the event hub endpoint. + :param pulumi.Input[str] subscription_id: The subscription identifier of the event hub endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[pulumi.Input[str]]: + """ + Method used to authenticate against the event hub endpoint + """ + return pulumi.get(self, "authentication_type") + + @authentication_type.setter + def authentication_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authentication_type", value) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[pulumi.Input[str]]: + """ + The connection string of the event hub endpoint. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_string", value) + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[pulumi.Input[str]]: + """ + The url of the event hub endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @endpoint_uri.setter + def endpoint_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_uri", value) + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[pulumi.Input[str]]: + """ + Event hub name on the event hub namespace + """ + return pulumi.get(self, "entity_path") + + @entity_path.setter + def entity_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_path", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the event hub endpoint + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group of the event hub endpoint. + """ + return pulumi.get(self, "resource_group") + + @resource_group.setter + def resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription identifier of the event hub endpoint. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +@pulumi.input_type +class RoutingPropertiesArgs: + def __init__(__self__, *, + endpoints: Optional[pulumi.Input['RoutingEndpointsArgs']] = None, + enrichments: Optional[pulumi.Input[List[pulumi.Input['EnrichmentPropertiesArgs']]]] = None, + fallback_route: Optional[pulumi.Input['FallbackRoutePropertiesArgs']] = None, + routes: Optional[pulumi.Input[List[pulumi.Input['RoutePropertiesArgs']]]] = None): + """ + The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + :param pulumi.Input['RoutingEndpointsArgs'] endpoints: The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + :param pulumi.Input[List[pulumi.Input['EnrichmentPropertiesArgs']]] enrichments: The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + :param pulumi.Input['FallbackRoutePropertiesArgs'] fallback_route: The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + :param pulumi.Input[List[pulumi.Input['RoutePropertiesArgs']]] routes: The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + """ + if endpoints is not None: + pulumi.set(__self__, "endpoints", endpoints) + if enrichments is not None: + pulumi.set(__self__, "enrichments", enrichments) + if fallback_route is not None: + pulumi.set(__self__, "fallback_route", fallback_route) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter + def endpoints(self) -> Optional[pulumi.Input['RoutingEndpointsArgs']]: + """ + The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + """ + return pulumi.get(self, "endpoints") + + @endpoints.setter + def endpoints(self, value: Optional[pulumi.Input['RoutingEndpointsArgs']]): + pulumi.set(self, "endpoints", value) + + @property + @pulumi.getter + def enrichments(self) -> Optional[pulumi.Input[List[pulumi.Input['EnrichmentPropertiesArgs']]]]: + """ + The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + """ + return pulumi.get(self, "enrichments") + + @enrichments.setter + def enrichments(self, value: Optional[pulumi.Input[List[pulumi.Input['EnrichmentPropertiesArgs']]]]): + pulumi.set(self, "enrichments", value) + + @property + @pulumi.getter(name="fallbackRoute") + def fallback_route(self) -> Optional[pulumi.Input['FallbackRoutePropertiesArgs']]: + """ + The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + """ + return pulumi.get(self, "fallback_route") + + @fallback_route.setter + def fallback_route(self, value: Optional[pulumi.Input['FallbackRoutePropertiesArgs']]): + pulumi.set(self, "fallback_route", value) + + @property + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[List[pulumi.Input['RoutePropertiesArgs']]]]: + """ + The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + """ + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[pulumi.Input[List[pulumi.Input['RoutePropertiesArgs']]]]): + pulumi.set(self, "routes", value) + + +@pulumi.input_type +class RoutingServiceBusQueueEndpointPropertiesArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + authentication_type: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + endpoint_uri: Optional[pulumi.Input[str]] = None, + entity_path: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The properties related to service bus queue endpoint types. + :param pulumi.Input[str] name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + :param pulumi.Input[str] authentication_type: Method used to authenticate against the service bus queue endpoint + :param pulumi.Input[str] connection_string: The connection string of the service bus queue endpoint. + :param pulumi.Input[str] endpoint_uri: The url of the service bus queue endpoint. It must include the protocol sb:// + :param pulumi.Input[str] entity_path: Queue name on the service bus namespace + :param pulumi.Input[str] id: Id of the service bus queue endpoint + :param pulumi.Input[str] resource_group: The name of the resource group of the service bus queue endpoint. + :param pulumi.Input[str] subscription_id: The subscription identifier of the service bus queue endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[pulumi.Input[str]]: + """ + Method used to authenticate against the service bus queue endpoint + """ + return pulumi.get(self, "authentication_type") + + @authentication_type.setter + def authentication_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authentication_type", value) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[pulumi.Input[str]]: + """ + The connection string of the service bus queue endpoint. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_string", value) + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[pulumi.Input[str]]: + """ + The url of the service bus queue endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @endpoint_uri.setter + def endpoint_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_uri", value) + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[pulumi.Input[str]]: + """ + Queue name on the service bus namespace + """ + return pulumi.get(self, "entity_path") + + @entity_path.setter + def entity_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_path", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the service bus queue endpoint + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group of the service bus queue endpoint. + """ + return pulumi.get(self, "resource_group") + + @resource_group.setter + def resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription identifier of the service bus queue endpoint. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +@pulumi.input_type +class RoutingServiceBusTopicEndpointPropertiesArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + authentication_type: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + endpoint_uri: Optional[pulumi.Input[str]] = None, + entity_path: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The properties related to service bus topic endpoint types. + :param pulumi.Input[str] name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + :param pulumi.Input[str] authentication_type: Method used to authenticate against the service bus topic endpoint + :param pulumi.Input[str] connection_string: The connection string of the service bus topic endpoint. + :param pulumi.Input[str] endpoint_uri: The url of the service bus topic endpoint. It must include the protocol sb:// + :param pulumi.Input[str] entity_path: Queue name on the service bus topic + :param pulumi.Input[str] id: Id of the service bus topic endpoint + :param pulumi.Input[str] resource_group: The name of the resource group of the service bus topic endpoint. + :param pulumi.Input[str] subscription_id: The subscription identifier of the service bus topic endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[pulumi.Input[str]]: + """ + Method used to authenticate against the service bus topic endpoint + """ + return pulumi.get(self, "authentication_type") + + @authentication_type.setter + def authentication_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authentication_type", value) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[pulumi.Input[str]]: + """ + The connection string of the service bus topic endpoint. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_string", value) + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[pulumi.Input[str]]: + """ + The url of the service bus topic endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @endpoint_uri.setter + def endpoint_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_uri", value) + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[pulumi.Input[str]]: + """ + Queue name on the service bus topic + """ + return pulumi.get(self, "entity_path") + + @entity_path.setter + def entity_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_path", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the service bus topic endpoint + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group of the service bus topic endpoint. + """ + return pulumi.get(self, "resource_group") + + @resource_group.setter + def resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription identifier of the service bus topic endpoint. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +@pulumi.input_type +class RoutingStorageContainerPropertiesArgs: + def __init__(__self__, *, + container_name: pulumi.Input[str], + name: pulumi.Input[str], + authentication_type: Optional[pulumi.Input[str]] = None, + batch_frequency_in_seconds: Optional[pulumi.Input[float]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + encoding: Optional[pulumi.Input[str]] = None, + endpoint_uri: Optional[pulumi.Input[str]] = None, + file_name_format: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + max_chunk_size_in_bytes: Optional[pulumi.Input[float]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The properties related to a storage container endpoint. + :param pulumi.Input[str] container_name: The name of storage container in the storage account. + :param pulumi.Input[str] name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + :param pulumi.Input[str] authentication_type: Method used to authenticate against the storage endpoint + :param pulumi.Input[float] batch_frequency_in_seconds: Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + :param pulumi.Input[str] connection_string: The connection string of the storage account. + :param pulumi.Input[str] encoding: Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + :param pulumi.Input[str] endpoint_uri: The url of the storage endpoint. It must include the protocol https:// + :param pulumi.Input[str] file_name_format: File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + :param pulumi.Input[str] id: Id of the storage container endpoint + :param pulumi.Input[float] max_chunk_size_in_bytes: Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + :param pulumi.Input[str] resource_group: The name of the resource group of the storage account. + :param pulumi.Input[str] subscription_id: The subscription identifier of the storage account. + """ + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if batch_frequency_in_seconds is not None: + pulumi.set(__self__, "batch_frequency_in_seconds", batch_frequency_in_seconds) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if encoding is not None: + pulumi.set(__self__, "encoding", encoding) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if file_name_format is not None: + pulumi.set(__self__, "file_name_format", file_name_format) + if id is not None: + pulumi.set(__self__, "id", id) + if max_chunk_size_in_bytes is not None: + pulumi.set(__self__, "max_chunk_size_in_bytes", max_chunk_size_in_bytes) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + The name of storage container in the storage account. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[pulumi.Input[str]]: + """ + Method used to authenticate against the storage endpoint + """ + return pulumi.get(self, "authentication_type") + + @authentication_type.setter + def authentication_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authentication_type", value) + + @property + @pulumi.getter(name="batchFrequencyInSeconds") + def batch_frequency_in_seconds(self) -> Optional[pulumi.Input[float]]: + """ + Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + """ + return pulumi.get(self, "batch_frequency_in_seconds") + + @batch_frequency_in_seconds.setter + def batch_frequency_in_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "batch_frequency_in_seconds", value) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[pulumi.Input[str]]: + """ + The connection string of the storage account. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_string", value) + + @property + @pulumi.getter + def encoding(self) -> Optional[pulumi.Input[str]]: + """ + Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + """ + return pulumi.get(self, "encoding") + + @encoding.setter + def encoding(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encoding", value) + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[pulumi.Input[str]]: + """ + The url of the storage endpoint. It must include the protocol https:// + """ + return pulumi.get(self, "endpoint_uri") + + @endpoint_uri.setter + def endpoint_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_uri", value) + + @property + @pulumi.getter(name="fileNameFormat") + def file_name_format(self) -> Optional[pulumi.Input[str]]: + """ + File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + """ + return pulumi.get(self, "file_name_format") + + @file_name_format.setter + def file_name_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "file_name_format", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the storage container endpoint + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="maxChunkSizeInBytes") + def max_chunk_size_in_bytes(self) -> Optional[pulumi.Input[float]]: + """ + Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + """ + return pulumi.get(self, "max_chunk_size_in_bytes") + + @max_chunk_size_in_bytes.setter + def max_chunk_size_in_bytes(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_chunk_size_in_bytes", value) + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group of the storage account. + """ + return pulumi.get(self, "resource_group") + + @resource_group.setter + def resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription identifier of the storage account. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +@pulumi.input_type +class SharedAccessSignatureAuthorizationRuleArgs: + def __init__(__self__, *, + key_name: pulumi.Input[str], + rights: pulumi.Input[str], + primary_key: Optional[pulumi.Input[str]] = None, + secondary_key: Optional[pulumi.Input[str]] = None): + """ + The properties of an IoT hub shared access policy. + :param pulumi.Input[str] key_name: The name of the shared access policy. + :param pulumi.Input[str] rights: The permissions assigned to the shared access policy. + :param pulumi.Input[str] primary_key: The primary key. + :param pulumi.Input[str] secondary_key: The secondary key. + """ + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "rights", rights) + if primary_key is not None: + pulumi.set(__self__, "primary_key", primary_key) + if secondary_key is not None: + pulumi.set(__self__, "secondary_key", secondary_key) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> pulumi.Input[str]: + """ + The name of the shared access policy. + """ + return pulumi.get(self, "key_name") + + @key_name.setter + def key_name(self, value: pulumi.Input[str]): + pulumi.set(self, "key_name", value) + + @property + @pulumi.getter + def rights(self) -> pulumi.Input[str]: + """ + The permissions assigned to the shared access policy. + """ + return pulumi.get(self, "rights") + + @rights.setter + def rights(self, value: pulumi.Input[str]): + pulumi.set(self, "rights", value) + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> Optional[pulumi.Input[str]]: + """ + The primary key. + """ + return pulumi.get(self, "primary_key") + + @primary_key.setter + def primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_key", value) + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> Optional[pulumi.Input[str]]: + """ + The secondary key. + """ + return pulumi.get(self, "secondary_key") + + @secondary_key.setter + def secondary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secondary_key", value) + + +@pulumi.input_type +class StorageEndpointPropertiesArgs: + def __init__(__self__, *, + connection_string: pulumi.Input[str], + container_name: pulumi.Input[str], + authentication_type: Optional[pulumi.Input[str]] = None, + sas_ttl_as_iso8601: Optional[pulumi.Input[str]] = None): + """ + The properties of the Azure Storage endpoint for file upload. + :param pulumi.Input[str] connection_string: The connection string for the Azure Storage account to which files are uploaded. + :param pulumi.Input[str] container_name: The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + :param pulumi.Input[str] authentication_type: Specifies authentication type being used for connecting to the storage account. + :param pulumi.Input[str] sas_ttl_as_iso8601: The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + """ + pulumi.set(__self__, "connection_string", connection_string) + pulumi.set(__self__, "container_name", container_name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if sas_ttl_as_iso8601 is not None: + pulumi.set(__self__, "sas_ttl_as_iso8601", sas_ttl_as_iso8601) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> pulumi.Input[str]: + """ + The connection string for the Azure Storage account to which files are uploaded. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: pulumi.Input[str]): + pulumi.set(self, "connection_string", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[pulumi.Input[str]]: + """ + Specifies authentication type being used for connecting to the storage account. + """ + return pulumi.get(self, "authentication_type") + + @authentication_type.setter + def authentication_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authentication_type", value) + + @property + @pulumi.getter(name="sasTtlAsIso8601") + def sas_ttl_as_iso8601(self) -> Optional[pulumi.Input[str]]: + """ + The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + """ + return pulumi.get(self, "sas_ttl_as_iso8601") + + @sas_ttl_as_iso8601.setter + def sas_ttl_as_iso8601(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sas_ttl_as_iso8601", value) + + diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/certificate.py b/sdk/python/pulumi_azurerm/devices/v20200801/certificate.py new file mode 100644 index 000000000000..2184bb2b8563 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/certificate.py @@ -0,0 +1,130 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs +from ._inputs import * + +__all__ = ['Certificate'] + + +class Certificate(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + certificate_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['CertificatePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The X509 Certificate. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] certificate_name: The name of the certificate + :param pulumi.Input[pulumi.InputType['CertificatePropertiesArgs']] properties: The description of an X509 CA Certificate. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the IoT hub. + :param pulumi.Input[str] resource_name_: The name of the IoT hub. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = dict() + + if certificate_name is None: + raise TypeError("Missing required property 'certificate_name'") + __props__['certificate_name'] = certificate_name + __props__['properties'] = properties + if resource_group_name is None: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + __props__['etag'] = None + __props__['name'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:Certificate"), pulumi.Alias(type_="azurerm:devices/v20170701:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180122:Certificate"), pulumi.Alias(type_="azurerm:devices/v20180401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20181201preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190322preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20190701preview:Certificate"), pulumi.Alias(type_="azurerm:devices/v20191104:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200301:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200401:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200615:Certificate"), pulumi.Alias(type_="azurerm:devices/v20200710preview:Certificate")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Certificate, __self__).__init__( + 'azurerm:devices/v20200801:Certificate', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Certificate': + """ + Get an existing Certificate resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = dict() + + return Certificate(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The entity tag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the certificate. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.CertificatePropertiesResponse']: + """ + The description of an X509 CA Certificate. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/get_certificate.py b/sdk/python/pulumi_azurerm/devices/v20200801/get_certificate.py new file mode 100644 index 000000000000..ba96d0e1ea6d --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/get_certificate.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetCertificateResult', + 'AwaitableGetCertificateResult', + 'get_certificate', +] + +@pulumi.output_type +class GetCertificateResult: + """ + The X509 Certificate. + """ + def __init__(__self__, etag=None, name=None, properties=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + The entity tag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the certificate. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.CertificatePropertiesResponse': + """ + The description of an X509 CA Certificate. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCertificateResult(GetCertificateResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCertificateResult( + etag=self.etag, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_certificate(certificate_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCertificateResult: + """ + Use this data source to access information about an existing resource. + + :param str certificate_name: The name of the certificate + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['certificateName'] = certificate_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:getCertificate', __args__, opts=opts, typ=GetCertificateResult).value + + return AwaitableGetCertificateResult( + etag=__ret__.etag, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource.py new file mode 100644 index 000000000000..b440f8c85e69 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource.py @@ -0,0 +1,143 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetIotHubResourceResult', + 'AwaitableGetIotHubResourceResult', + 'get_iot_hub_resource', +] + +@pulumi.output_type +class GetIotHubResourceResult: + """ + The description of the IoT hub. + """ + def __init__(__self__, etag=None, location=None, name=None, properties=None, sku=None, tags=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def location(self) -> str: + """ + The resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.IotHubPropertiesResponse': + """ + IotHub properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def sku(self) -> 'outputs.IotHubSkuInfoResponse': + """ + IotHub SKU info + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + The resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetIotHubResourceResult(GetIotHubResourceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIotHubResourceResult( + etag=self.etag, + location=self.location, + name=self.name, + properties=self.properties, + sku=self.sku, + tags=self.tags, + type=self.type) + + +def get_iot_hub_resource(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIotHubResourceResult: + """ + Use this data source to access information about an existing resource. + + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:getIotHubResource', __args__, opts=opts, typ=GetIotHubResourceResult).value + + return AwaitableGetIotHubResourceResult( + etag=__ret__.etag, + location=__ret__.location, + name=__ret__.name, + properties=__ret__.properties, + sku=__ret__.sku, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource_event_hub_consumer_group.py new file mode 100644 index 000000000000..5bb7bdb6c352 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/get_iot_hub_resource_event_hub_consumer_group.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables + +__all__ = [ + 'GetIotHubResourceEventHubConsumerGroupResult', + 'AwaitableGetIotHubResourceEventHubConsumerGroupResult', + 'get_iot_hub_resource_event_hub_consumer_group', +] + +@pulumi.output_type +class GetIotHubResourceEventHubConsumerGroupResult: + """ + The properties of the EventHubConsumerGroupInfo object. + """ + def __init__(__self__, etag=None, name=None, properties=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + The etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> str: + """ + The Event Hub-compatible consumer group name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Mapping[str, str]: + """ + The tags. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + the resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetIotHubResourceEventHubConsumerGroupResult(GetIotHubResourceEventHubConsumerGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIotHubResourceEventHubConsumerGroupResult( + etag=self.etag, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_iot_hub_resource_event_hub_consumer_group(event_hub_endpoint_name: Optional[str] = None, + name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIotHubResourceEventHubConsumerGroupResult: + """ + Use this data source to access information about an existing resource. + + :param str event_hub_endpoint_name: The name of the Event Hub-compatible endpoint in the IoT hub. + :param str name: The name of the consumer group to retrieve. + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['eventHubEndpointName'] = event_hub_endpoint_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup', __args__, opts=opts, typ=GetIotHubResourceEventHubConsumerGroupResult).value + + return AwaitableGetIotHubResourceEventHubConsumerGroupResult( + etag=__ret__.etag, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/get_private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200801/get_private_endpoint_connection.py new file mode 100644 index 000000000000..0aec1d0e0d19 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/get_private_endpoint_connection.py @@ -0,0 +1,94 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + The private endpoint connection of an IotHub + """ + def __init__(__self__, name=None, properties=None, type=None): + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> str: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.PrivateEndpointConnectionPropertiesResponse': + """ + The properties of a private endpoint connection + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + name=self.name, + properties=self.properties, + type=self.type) + + +def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Use this data source to access information about an existing resource. + + :param str private_endpoint_connection_name: The name of the private endpoint connection + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource.py b/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource.py new file mode 100644 index 000000000000..4942fbcef49e --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource.py @@ -0,0 +1,164 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs +from ._inputs import * + +__all__ = ['IotHubResource'] + + +class IotHubResource(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + etag: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['IotHubPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['IotHubSkuInfoArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The description of the IoT hub. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] etag: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + :param pulumi.Input[str] location: The resource location. + :param pulumi.Input[pulumi.InputType['IotHubPropertiesArgs']] properties: IotHub properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the IoT hub. + :param pulumi.Input[str] resource_name_: The name of the IoT hub. + :param pulumi.Input[pulumi.InputType['IotHubSkuInfoArgs']] sku: IotHub SKU info + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = dict() + + __props__['etag'] = etag + if location is None: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + __props__['properties'] = properties + if resource_group_name is None: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + if sku is None: + raise TypeError("Missing required property 'sku'") + __props__['sku'] = sku + __props__['tags'] = tags + __props__['name'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResource"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResource")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IotHubResource, __self__).__init__( + 'azurerm:devices/v20200801:IotHubResource', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IotHubResource': + """ + Get an existing IotHubResource resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = dict() + + return IotHubResource(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.IotHubPropertiesResponse']: + """ + IotHub properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.IotHubSkuInfoResponse']: + """ + IotHub SKU info + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + The resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource_event_hub_consumer_group.py b/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource_event_hub_consumer_group.py new file mode 100644 index 000000000000..368d2f7be3f1 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/iot_hub_resource_event_hub_consumer_group.py @@ -0,0 +1,133 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from ._inputs import * + +__all__ = ['IotHubResourceEventHubConsumerGroup'] + + +class IotHubResourceEventHubConsumerGroup(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + event_hub_endpoint_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['EventHubConsumerGroupNameArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The properties of the EventHubConsumerGroupInfo object. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] event_hub_endpoint_name: The name of the Event Hub-compatible endpoint in the IoT hub. + :param pulumi.Input[str] name: The name of the consumer group to add. + :param pulumi.Input[pulumi.InputType['EventHubConsumerGroupNameArgs']] properties: The EventHub consumer group name. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the IoT hub. + :param pulumi.Input[str] resource_name_: The name of the IoT hub. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = dict() + + if event_hub_endpoint_name is None: + raise TypeError("Missing required property 'event_hub_endpoint_name'") + __props__['event_hub_endpoint_name'] = event_hub_endpoint_name + if name is None: + raise TypeError("Missing required property 'name'") + __props__['name'] = name + __props__['properties'] = properties + if resource_group_name is None: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + __props__['etag'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup"), pulumi.Alias(type_="azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IotHubResourceEventHubConsumerGroup, __self__).__init__( + 'azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IotHubResourceEventHubConsumerGroup': + """ + Get an existing IotHubResourceEventHubConsumerGroup resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = dict() + + return IotHubResourceEventHubConsumerGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The Event Hub-compatible consumer group name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output[Mapping[str, str]]: + """ + The tags. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + the resource type. + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys.py b/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys.py new file mode 100644 index 000000000000..c8b6309b9999 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'ListIotHubResourceKeysResult', + 'AwaitableListIotHubResourceKeysResult', + 'list_iot_hub_resource_keys', +] + +@pulumi.output_type +class ListIotHubResourceKeysResult: + """ + The list of shared access policies with a next link. + """ + def __init__(__self__, next_link=None, value=None): + if next_link and not isinstance(next_link, str): + raise TypeError("Expected argument 'next_link' to be a str") + pulumi.set(__self__, "next_link", next_link) + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="nextLink") + def next_link(self) -> str: + """ + The next link. + """ + return pulumi.get(self, "next_link") + + @property + @pulumi.getter + def value(self) -> Optional[List['outputs.SharedAccessSignatureAuthorizationRuleResponse']]: + """ + The list of shared access policies. + """ + return pulumi.get(self, "value") + + +class AwaitableListIotHubResourceKeysResult(ListIotHubResourceKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListIotHubResourceKeysResult( + next_link=self.next_link, + value=self.value) + + +def list_iot_hub_resource_keys(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListIotHubResourceKeysResult: + """ + Use this data source to access information about an existing resource. + + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:listIotHubResourceKeys', __args__, opts=opts, typ=ListIotHubResourceKeysResult).value + + return AwaitableListIotHubResourceKeysResult( + next_link=__ret__.next_link, + value=__ret__.value) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys_for_key_name.py b/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys_for_key_name.py new file mode 100644 index 000000000000..16188b2acf46 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/list_iot_hub_resource_keys_for_key_name.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables + +__all__ = [ + 'ListIotHubResourceKeysForKeyNameResult', + 'AwaitableListIotHubResourceKeysForKeyNameResult', + 'list_iot_hub_resource_keys_for_key_name', +] + +@pulumi.output_type +class ListIotHubResourceKeysForKeyNameResult: + """ + The properties of an IoT hub shared access policy. + """ + def __init__(__self__, key_name=None, primary_key=None, rights=None, secondary_key=None): + if key_name and not isinstance(key_name, str): + raise TypeError("Expected argument 'key_name' to be a str") + pulumi.set(__self__, "key_name", key_name) + if primary_key and not isinstance(primary_key, str): + raise TypeError("Expected argument 'primary_key' to be a str") + pulumi.set(__self__, "primary_key", primary_key) + if rights and not isinstance(rights, str): + raise TypeError("Expected argument 'rights' to be a str") + pulumi.set(__self__, "rights", rights) + if secondary_key and not isinstance(secondary_key, str): + raise TypeError("Expected argument 'secondary_key' to be a str") + pulumi.set(__self__, "secondary_key", secondary_key) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> str: + """ + The name of the shared access policy. + """ + return pulumi.get(self, "key_name") + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> Optional[str]: + """ + The primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter + def rights(self) -> str: + """ + The permissions assigned to the shared access policy. + """ + return pulumi.get(self, "rights") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> Optional[str]: + """ + The secondary key. + """ + return pulumi.get(self, "secondary_key") + + +class AwaitableListIotHubResourceKeysForKeyNameResult(ListIotHubResourceKeysForKeyNameResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListIotHubResourceKeysForKeyNameResult( + key_name=self.key_name, + primary_key=self.primary_key, + rights=self.rights, + secondary_key=self.secondary_key) + + +def list_iot_hub_resource_keys_for_key_name(key_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListIotHubResourceKeysForKeyNameResult: + """ + Use this data source to access information about an existing resource. + + :param str key_name: The name of the shared access policy. + :param str resource_group_name: The name of the resource group that contains the IoT hub. + :param str resource_name: The name of the IoT hub. + """ + __args__ = dict() + __args__['keyName'] = key_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:devices/v20200801:listIotHubResourceKeysForKeyName', __args__, opts=opts, typ=ListIotHubResourceKeysForKeyNameResult).value + + return AwaitableListIotHubResourceKeysForKeyNameResult( + key_name=__ret__.key_name, + primary_key=__ret__.primary_key, + rights=__ret__.rights, + secondary_key=__ret__.secondary_key) diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/outputs.py b/sdk/python/pulumi_azurerm/devices/v20200801/outputs.py new file mode 100644 index 000000000000..0938631e4a99 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/outputs.py @@ -0,0 +1,1781 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'CertificatePropertiesResponse', + 'CloudToDevicePropertiesResponse', + 'EnrichmentPropertiesResponse', + 'EventHubPropertiesResponse', + 'FallbackRoutePropertiesResponse', + 'FeedbackPropertiesResponse', + 'IotHubLocationDescriptionResponse', + 'IotHubPropertiesResponse', + 'IotHubSkuInfoResponse', + 'IpFilterRuleResponse', + 'MessagingEndpointPropertiesResponse', + 'PrivateEndpointConnectionPropertiesResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'RoutePropertiesResponse', + 'RoutingEndpointsResponse', + 'RoutingEventHubPropertiesResponse', + 'RoutingPropertiesResponse', + 'RoutingServiceBusQueueEndpointPropertiesResponse', + 'RoutingServiceBusTopicEndpointPropertiesResponse', + 'RoutingStorageContainerPropertiesResponse', + 'SharedAccessSignatureAuthorizationRuleResponse', + 'StorageEndpointPropertiesResponse', +] + +@pulumi.output_type +class CertificatePropertiesResponse(dict): + """ + The description of an X509 CA Certificate. + """ + def __init__(__self__, *, + created: str, + expiry: str, + is_verified: bool, + subject: str, + thumbprint: str, + updated: str, + certificate: Optional[str] = None): + """ + The description of an X509 CA Certificate. + :param str created: The certificate's create date and time. + :param str expiry: The certificate's expiration date and time. + :param bool is_verified: Determines whether certificate has been verified. + :param str subject: The certificate's subject name. + :param str thumbprint: The certificate's thumbprint. + :param str updated: The certificate's last update date and time. + :param str certificate: The certificate content + """ + pulumi.set(__self__, "created", created) + pulumi.set(__self__, "expiry", expiry) + pulumi.set(__self__, "is_verified", is_verified) + pulumi.set(__self__, "subject", subject) + pulumi.set(__self__, "thumbprint", thumbprint) + pulumi.set(__self__, "updated", updated) + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + + @property + @pulumi.getter + def created(self) -> str: + """ + The certificate's create date and time. + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter + def expiry(self) -> str: + """ + The certificate's expiration date and time. + """ + return pulumi.get(self, "expiry") + + @property + @pulumi.getter(name="isVerified") + def is_verified(self) -> bool: + """ + Determines whether certificate has been verified. + """ + return pulumi.get(self, "is_verified") + + @property + @pulumi.getter + def subject(self) -> str: + """ + The certificate's subject name. + """ + return pulumi.get(self, "subject") + + @property + @pulumi.getter + def thumbprint(self) -> str: + """ + The certificate's thumbprint. + """ + return pulumi.get(self, "thumbprint") + + @property + @pulumi.getter + def updated(self) -> str: + """ + The certificate's last update date and time. + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter + def certificate(self) -> Optional[str]: + """ + The certificate content + """ + return pulumi.get(self, "certificate") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class CloudToDevicePropertiesResponse(dict): + """ + The IoT hub cloud-to-device messaging properties. + """ + def __init__(__self__, *, + default_ttl_as_iso8601: Optional[str] = None, + feedback: Optional['outputs.FeedbackPropertiesResponse'] = None, + max_delivery_count: Optional[float] = None): + """ + The IoT hub cloud-to-device messaging properties. + :param str default_ttl_as_iso8601: The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param 'FeedbackPropertiesResponseArgs' feedback: The properties of the feedback queue for cloud-to-device messages. + :param float max_delivery_count: The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + if default_ttl_as_iso8601 is not None: + pulumi.set(__self__, "default_ttl_as_iso8601", default_ttl_as_iso8601) + if feedback is not None: + pulumi.set(__self__, "feedback", feedback) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + + @property + @pulumi.getter(name="defaultTtlAsIso8601") + def default_ttl_as_iso8601(self) -> Optional[str]: + """ + The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "default_ttl_as_iso8601") + + @property + @pulumi.getter + def feedback(self) -> Optional['outputs.FeedbackPropertiesResponse']: + """ + The properties of the feedback queue for cloud-to-device messages. + """ + return pulumi.get(self, "feedback") + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[float]: + """ + The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "max_delivery_count") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class EnrichmentPropertiesResponse(dict): + """ + The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + """ + def __init__(__self__, *, + endpoint_names: List[str], + key: str, + value: str): + """ + The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. + :param List[str] endpoint_names: The list of endpoints for which the enrichment is applied to the message. + :param str key: The key or name for the enrichment property. + :param str value: The value for the enrichment property. + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> List[str]: + """ + The list of endpoints for which the enrichment is applied to the message. + """ + return pulumi.get(self, "endpoint_names") + + @property + @pulumi.getter + def key(self) -> str: + """ + The key or name for the enrichment property. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The value for the enrichment property. + """ + return pulumi.get(self, "value") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class EventHubPropertiesResponse(dict): + """ + The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + """ + def __init__(__self__, *, + endpoint: str, + partition_ids: List[str], + path: str, + partition_count: Optional[float] = None, + retention_time_in_days: Optional[float] = None): + """ + The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. + :param str endpoint: The Event Hub-compatible endpoint. + :param List[str] partition_ids: The partition ids in the Event Hub-compatible endpoint. + :param str path: The Event Hub-compatible name. + :param float partition_count: The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + :param float retention_time_in_days: The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + """ + pulumi.set(__self__, "endpoint", endpoint) + pulumi.set(__self__, "partition_ids", partition_ids) + pulumi.set(__self__, "path", path) + if partition_count is not None: + pulumi.set(__self__, "partition_count", partition_count) + if retention_time_in_days is not None: + pulumi.set(__self__, "retention_time_in_days", retention_time_in_days) + + @property + @pulumi.getter + def endpoint(self) -> str: + """ + The Event Hub-compatible endpoint. + """ + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter(name="partitionIds") + def partition_ids(self) -> List[str]: + """ + The partition ids in the Event Hub-compatible endpoint. + """ + return pulumi.get(self, "partition_ids") + + @property + @pulumi.getter + def path(self) -> str: + """ + The Event Hub-compatible name. + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter(name="partitionCount") + def partition_count(self) -> Optional[float]: + """ + The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. + """ + return pulumi.get(self, "partition_count") + + @property + @pulumi.getter(name="retentionTimeInDays") + def retention_time_in_days(self) -> Optional[float]: + """ + The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages + """ + return pulumi.get(self, "retention_time_in_days") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class FallbackRoutePropertiesResponse(dict): + """ + The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + """ + def __init__(__self__, *, + endpoint_names: List[str], + is_enabled: bool, + source: str, + condition: Optional[str] = None, + name: Optional[str] = None): + """ + The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint. + :param List[str] endpoint_names: The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + :param bool is_enabled: Used to specify whether the fallback route is enabled. + :param str source: The source to which the routing rule is to be applied to. For example, DeviceMessages + :param str condition: The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + :param str name: The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "source", source) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> List[str]: + """ + The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. + """ + return pulumi.get(self, "endpoint_names") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + Used to specify whether the fallback route is enabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def source(self) -> str: + """ + The source to which the routing rule is to be applied to. For example, DeviceMessages + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def condition(self) -> Optional[str]: + """ + The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + return pulumi.get(self, "condition") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + return pulumi.get(self, "name") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class FeedbackPropertiesResponse(dict): + """ + The properties of the feedback queue for cloud-to-device messages. + """ + def __init__(__self__, *, + lock_duration_as_iso8601: Optional[str] = None, + max_delivery_count: Optional[float] = None, + ttl_as_iso8601: Optional[str] = None): + """ + The properties of the feedback queue for cloud-to-device messages. + :param str lock_duration_as_iso8601: The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param float max_delivery_count: The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + :param str ttl_as_iso8601: The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + if lock_duration_as_iso8601 is not None: + pulumi.set(__self__, "lock_duration_as_iso8601", lock_duration_as_iso8601) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + if ttl_as_iso8601 is not None: + pulumi.set(__self__, "ttl_as_iso8601", ttl_as_iso8601) + + @property + @pulumi.getter(name="lockDurationAsIso8601") + def lock_duration_as_iso8601(self) -> Optional[str]: + """ + The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "lock_duration_as_iso8601") + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[float]: + """ + The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "max_delivery_count") + + @property + @pulumi.getter(name="ttlAsIso8601") + def ttl_as_iso8601(self) -> Optional[str]: + """ + The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. + """ + return pulumi.get(self, "ttl_as_iso8601") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class IotHubLocationDescriptionResponse(dict): + """ + Public representation of one of the locations where a resource is provisioned. + """ + def __init__(__self__, *, + location: Optional[str] = None, + role: Optional[str] = None): + """ + Public representation of one of the locations where a resource is provisioned. + :param str location: The name of the Azure region + :param str role: The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + """ + if location is not None: + pulumi.set(__self__, "location", location) + if role is not None: + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The name of the Azure region + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def role(self) -> Optional[str]: + """ + The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to. + """ + return pulumi.get(self, "role") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class IotHubPropertiesResponse(dict): + """ + The properties of an IoT hub. + """ + def __init__(__self__, *, + host_name: str, + locations: List['outputs.IotHubLocationDescriptionResponse'], + provisioning_state: str, + state: str, + authorization_policies: Optional[List['outputs.SharedAccessSignatureAuthorizationRuleResponse']] = None, + cloud_to_device: Optional['outputs.CloudToDevicePropertiesResponse'] = None, + comments: Optional[str] = None, + enable_file_upload_notifications: Optional[bool] = None, + event_hub_endpoints: Optional[Mapping[str, 'outputs.EventHubPropertiesResponse']] = None, + features: Optional[str] = None, + ip_filter_rules: Optional[List['outputs.IpFilterRuleResponse']] = None, + messaging_endpoints: Optional[Mapping[str, 'outputs.MessagingEndpointPropertiesResponse']] = None, + min_tls_version: Optional[str] = None, + private_endpoint_connections: Optional[List['outputs.PrivateEndpointConnectionResponse']] = None, + public_network_access: Optional[str] = None, + routing: Optional['outputs.RoutingPropertiesResponse'] = None, + storage_endpoints: Optional[Mapping[str, 'outputs.StorageEndpointPropertiesResponse']] = None): + """ + The properties of an IoT hub. + :param str host_name: The name of the host. + :param List['IotHubLocationDescriptionResponseArgs'] locations: Primary and secondary location for iot hub + :param str provisioning_state: The provisioning state. + :param str state: The hub state. + :param List['SharedAccessSignatureAuthorizationRuleResponseArgs'] authorization_policies: The shared access policies you can use to secure a connection to the IoT hub. + :param 'CloudToDevicePropertiesResponseArgs' cloud_to_device: The IoT hub cloud-to-device messaging properties. + :param str comments: IoT hub comments. + :param bool enable_file_upload_notifications: If True, file upload notifications are enabled. + :param Mapping[str, 'EventHubPropertiesResponseArgs'] event_hub_endpoints: The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + :param str features: The capabilities and features enabled for the IoT hub. + :param List['IpFilterRuleResponseArgs'] ip_filter_rules: The IP filter rules. + :param Mapping[str, 'MessagingEndpointPropertiesResponseArgs'] messaging_endpoints: The messaging endpoint properties for the file upload notification queue. + :param str min_tls_version: Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + :param List['PrivateEndpointConnectionResponseArgs'] private_endpoint_connections: Private endpoint connections created on this IotHub + :param str public_network_access: Whether requests from Public Network are allowed + :param 'RoutingPropertiesResponseArgs' routing: The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + :param Mapping[str, 'StorageEndpointPropertiesResponseArgs'] storage_endpoints: The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "state", state) + if authorization_policies is not None: + pulumi.set(__self__, "authorization_policies", authorization_policies) + if cloud_to_device is not None: + pulumi.set(__self__, "cloud_to_device", cloud_to_device) + if comments is not None: + pulumi.set(__self__, "comments", comments) + if enable_file_upload_notifications is not None: + pulumi.set(__self__, "enable_file_upload_notifications", enable_file_upload_notifications) + if event_hub_endpoints is not None: + pulumi.set(__self__, "event_hub_endpoints", event_hub_endpoints) + if features is not None: + pulumi.set(__self__, "features", features) + if ip_filter_rules is not None: + pulumi.set(__self__, "ip_filter_rules", ip_filter_rules) + if messaging_endpoints is not None: + pulumi.set(__self__, "messaging_endpoints", messaging_endpoints) + if min_tls_version is not None: + pulumi.set(__self__, "min_tls_version", min_tls_version) + if private_endpoint_connections is not None: + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if routing is not None: + pulumi.set(__self__, "routing", routing) + if storage_endpoints is not None: + pulumi.set(__self__, "storage_endpoints", storage_endpoints) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The name of the host. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def locations(self) -> List['outputs.IotHubLocationDescriptionResponse']: + """ + Primary and secondary location for iot hub + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def state(self) -> str: + """ + The hub state. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="authorizationPolicies") + def authorization_policies(self) -> Optional[List['outputs.SharedAccessSignatureAuthorizationRuleResponse']]: + """ + The shared access policies you can use to secure a connection to the IoT hub. + """ + return pulumi.get(self, "authorization_policies") + + @property + @pulumi.getter(name="cloudToDevice") + def cloud_to_device(self) -> Optional['outputs.CloudToDevicePropertiesResponse']: + """ + The IoT hub cloud-to-device messaging properties. + """ + return pulumi.get(self, "cloud_to_device") + + @property + @pulumi.getter + def comments(self) -> Optional[str]: + """ + IoT hub comments. + """ + return pulumi.get(self, "comments") + + @property + @pulumi.getter(name="enableFileUploadNotifications") + def enable_file_upload_notifications(self) -> Optional[bool]: + """ + If True, file upload notifications are enabled. + """ + return pulumi.get(self, "enable_file_upload_notifications") + + @property + @pulumi.getter(name="eventHubEndpoints") + def event_hub_endpoints(self) -> Optional[Mapping[str, 'outputs.EventHubPropertiesResponse']]: + """ + The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. + """ + return pulumi.get(self, "event_hub_endpoints") + + @property + @pulumi.getter + def features(self) -> Optional[str]: + """ + The capabilities and features enabled for the IoT hub. + """ + return pulumi.get(self, "features") + + @property + @pulumi.getter(name="ipFilterRules") + def ip_filter_rules(self) -> Optional[List['outputs.IpFilterRuleResponse']]: + """ + The IP filter rules. + """ + return pulumi.get(self, "ip_filter_rules") + + @property + @pulumi.getter(name="messagingEndpoints") + def messaging_endpoints(self) -> Optional[Mapping[str, 'outputs.MessagingEndpointPropertiesResponse']]: + """ + The messaging endpoint properties for the file upload notification queue. + """ + return pulumi.get(self, "messaging_endpoints") + + @property + @pulumi.getter(name="minTlsVersion") + def min_tls_version(self) -> Optional[str]: + """ + Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. + """ + return pulumi.get(self, "min_tls_version") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Optional[List['outputs.PrivateEndpointConnectionResponse']]: + """ + Private endpoint connections created on this IotHub + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter + def routing(self) -> Optional['outputs.RoutingPropertiesResponse']: + """ + The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + """ + return pulumi.get(self, "routing") + + @property + @pulumi.getter(name="storageEndpoints") + def storage_endpoints(self) -> Optional[Mapping[str, 'outputs.StorageEndpointPropertiesResponse']]: + """ + The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. + """ + return pulumi.get(self, "storage_endpoints") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class IotHubSkuInfoResponse(dict): + """ + Information about the SKU of the IoT hub. + """ + def __init__(__self__, *, + name: str, + tier: str, + capacity: Optional[float] = None): + """ + Information about the SKU of the IoT hub. + :param str name: The name of the SKU. + :param str tier: The billing tier for the IoT hub. + :param float capacity: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> str: + """ + The billing tier for the IoT hub. + """ + return pulumi.get(self, "tier") + + @property + @pulumi.getter + def capacity(self) -> Optional[float]: + """ + The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. + """ + return pulumi.get(self, "capacity") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class IpFilterRuleResponse(dict): + """ + The IP filter rules for the IoT hub. + """ + def __init__(__self__, *, + action: str, + filter_name: str, + ip_mask: str): + """ + The IP filter rules for the IoT hub. + :param str action: The desired action for requests captured by this rule. + :param str filter_name: The name of the IP filter rule. + :param str ip_mask: A string that contains the IP address range in CIDR notation for the rule. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "filter_name", filter_name) + pulumi.set(__self__, "ip_mask", ip_mask) + + @property + @pulumi.getter + def action(self) -> str: + """ + The desired action for requests captured by this rule. + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="filterName") + def filter_name(self) -> str: + """ + The name of the IP filter rule. + """ + return pulumi.get(self, "filter_name") + + @property + @pulumi.getter(name="ipMask") + def ip_mask(self) -> str: + """ + A string that contains the IP address range in CIDR notation for the rule. + """ + return pulumi.get(self, "ip_mask") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class MessagingEndpointPropertiesResponse(dict): + """ + The properties of the messaging endpoints used by this IoT hub. + """ + def __init__(__self__, *, + lock_duration_as_iso8601: Optional[str] = None, + max_delivery_count: Optional[float] = None, + ttl_as_iso8601: Optional[str] = None): + """ + The properties of the messaging endpoints used by this IoT hub. + :param str lock_duration_as_iso8601: The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + :param float max_delivery_count: The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + :param str ttl_as_iso8601: The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + if lock_duration_as_iso8601 is not None: + pulumi.set(__self__, "lock_duration_as_iso8601", lock_duration_as_iso8601) + if max_delivery_count is not None: + pulumi.set(__self__, "max_delivery_count", max_delivery_count) + if ttl_as_iso8601 is not None: + pulumi.set(__self__, "ttl_as_iso8601", ttl_as_iso8601) + + @property + @pulumi.getter(name="lockDurationAsIso8601") + def lock_duration_as_iso8601(self) -> Optional[str]: + """ + The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "lock_duration_as_iso8601") + + @property + @pulumi.getter(name="maxDeliveryCount") + def max_delivery_count(self) -> Optional[float]: + """ + The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "max_delivery_count") + + @property + @pulumi.getter(name="ttlAsIso8601") + def ttl_as_iso8601(self) -> Optional[str]: + """ + The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. + """ + return pulumi.get(self, "ttl_as_iso8601") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateEndpointConnectionPropertiesResponse(dict): + """ + The properties of a private endpoint connection + """ + def __init__(__self__, *, + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse', + private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None): + """ + The properties of a private endpoint connection + :param 'PrivateLinkServiceConnectionStateResponseArgs' private_link_service_connection_state: The current state of a private endpoint connection + :param 'PrivateEndpointResponseArgs' private_endpoint: The private endpoint property of a private endpoint connection + """ + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + The current state of a private endpoint connection + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The private endpoint property of a private endpoint connection + """ + return pulumi.get(self, "private_endpoint") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + The private endpoint connection of an IotHub + """ + def __init__(__self__, *, + id: str, + name: str, + properties: 'outputs.PrivateEndpointConnectionPropertiesResponse', + type: str): + """ + The private endpoint connection of an IotHub + :param str id: The resource identifier. + :param str name: The resource name. + :param 'PrivateEndpointConnectionPropertiesResponseArgs' properties: The properties of a private endpoint connection + :param str type: The resource type. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "properties", properties) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The resource identifier. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.PrivateEndpointConnectionPropertiesResponse': + """ + The properties of a private endpoint connection + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + The private endpoint property of a private endpoint connection + """ + def __init__(__self__, *, + id: str): + """ + The private endpoint property of a private endpoint connection + :param str id: The resource identifier. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The resource identifier. + """ + return pulumi.get(self, "id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + The current state of a private endpoint connection + """ + def __init__(__self__, *, + description: str, + status: str, + actions_required: Optional[str] = None): + """ + The current state of a private endpoint connection + :param str description: The description for the current state of a private endpoint connection + :param str status: The status of a private endpoint connection + :param str actions_required: Actions required for a private endpoint connection + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "status", status) + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description for the current state of a private endpoint connection + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of a private endpoint connection + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[str]: + """ + Actions required for a private endpoint connection + """ + return pulumi.get(self, "actions_required") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutePropertiesResponse(dict): + """ + The properties of a routing rule that your IoT hub uses to route messages to endpoints. + """ + def __init__(__self__, *, + endpoint_names: List[str], + is_enabled: bool, + name: str, + source: str, + condition: Optional[str] = None): + """ + The properties of a routing rule that your IoT hub uses to route messages to endpoints. + :param List[str] endpoint_names: The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + :param bool is_enabled: Used to specify whether a route is enabled. + :param str name: The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + :param str source: The source that the routing rule is to be applied to, such as DeviceMessages. + :param str condition: The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + pulumi.set(__self__, "endpoint_names", endpoint_names) + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "source", source) + if condition is not None: + pulumi.set(__self__, "condition", condition) + + @property + @pulumi.getter(name="endpointNames") + def endpoint_names(self) -> List[str]: + """ + The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. + """ + return pulumi.get(self, "endpoint_names") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + Used to specify whether a route is enabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def source(self) -> str: + """ + The source that the routing rule is to be applied to, such as DeviceMessages. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def condition(self) -> Optional[str]: + """ + The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language + """ + return pulumi.get(self, "condition") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingEndpointsResponse(dict): + """ + The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + """ + def __init__(__self__, *, + event_hubs: Optional[List['outputs.RoutingEventHubPropertiesResponse']] = None, + service_bus_queues: Optional[List['outputs.RoutingServiceBusQueueEndpointPropertiesResponse']] = None, + service_bus_topics: Optional[List['outputs.RoutingServiceBusTopicEndpointPropertiesResponse']] = None, + storage_containers: Optional[List['outputs.RoutingStorageContainerPropertiesResponse']] = None): + """ + The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + :param List['RoutingEventHubPropertiesResponseArgs'] event_hubs: The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + :param List['RoutingServiceBusQueueEndpointPropertiesResponseArgs'] service_bus_queues: The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + :param List['RoutingServiceBusTopicEndpointPropertiesResponseArgs'] service_bus_topics: The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + :param List['RoutingStorageContainerPropertiesResponseArgs'] storage_containers: The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + """ + if event_hubs is not None: + pulumi.set(__self__, "event_hubs", event_hubs) + if service_bus_queues is not None: + pulumi.set(__self__, "service_bus_queues", service_bus_queues) + if service_bus_topics is not None: + pulumi.set(__self__, "service_bus_topics", service_bus_topics) + if storage_containers is not None: + pulumi.set(__self__, "storage_containers", storage_containers) + + @property + @pulumi.getter(name="eventHubs") + def event_hubs(self) -> Optional[List['outputs.RoutingEventHubPropertiesResponse']]: + """ + The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. + """ + return pulumi.get(self, "event_hubs") + + @property + @pulumi.getter(name="serviceBusQueues") + def service_bus_queues(self) -> Optional[List['outputs.RoutingServiceBusQueueEndpointPropertiesResponse']]: + """ + The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. + """ + return pulumi.get(self, "service_bus_queues") + + @property + @pulumi.getter(name="serviceBusTopics") + def service_bus_topics(self) -> Optional[List['outputs.RoutingServiceBusTopicEndpointPropertiesResponse']]: + """ + The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. + """ + return pulumi.get(self, "service_bus_topics") + + @property + @pulumi.getter(name="storageContainers") + def storage_containers(self) -> Optional[List['outputs.RoutingStorageContainerPropertiesResponse']]: + """ + The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. + """ + return pulumi.get(self, "storage_containers") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingEventHubPropertiesResponse(dict): + """ + The properties related to an event hub endpoint. + """ + def __init__(__self__, *, + name: str, + authentication_type: Optional[str] = None, + connection_string: Optional[str] = None, + endpoint_uri: Optional[str] = None, + entity_path: Optional[str] = None, + id: Optional[str] = None, + resource_group: Optional[str] = None, + subscription_id: Optional[str] = None): + """ + The properties related to an event hub endpoint. + :param str name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + :param str authentication_type: Method used to authenticate against the event hub endpoint + :param str connection_string: The connection string of the event hub endpoint. + :param str endpoint_uri: The url of the event hub endpoint. It must include the protocol sb:// + :param str entity_path: Event hub name on the event hub namespace + :param str id: Id of the event hub endpoint + :param str resource_group: The name of the resource group of the event hub endpoint. + :param str subscription_id: The subscription identifier of the event hub endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[str]: + """ + Method used to authenticate against the event hub endpoint + """ + return pulumi.get(self, "authentication_type") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[str]: + """ + The connection string of the event hub endpoint. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[str]: + """ + The url of the event hub endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[str]: + """ + Event hub name on the event hub namespace + """ + return pulumi.get(self, "entity_path") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Id of the event hub endpoint + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[str]: + """ + The name of the resource group of the event hub endpoint. + """ + return pulumi.get(self, "resource_group") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription identifier of the event hub endpoint. + """ + return pulumi.get(self, "subscription_id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingPropertiesResponse(dict): + """ + The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + """ + def __init__(__self__, *, + endpoints: Optional['outputs.RoutingEndpointsResponse'] = None, + enrichments: Optional[List['outputs.EnrichmentPropertiesResponse']] = None, + fallback_route: Optional['outputs.FallbackRoutePropertiesResponse'] = None, + routes: Optional[List['outputs.RoutePropertiesResponse']] = None): + """ + The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging + :param 'RoutingEndpointsResponseArgs' endpoints: The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + :param List['EnrichmentPropertiesResponseArgs'] enrichments: The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + :param 'FallbackRoutePropertiesResponseArgs' fallback_route: The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + :param List['RoutePropertiesResponseArgs'] routes: The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + """ + if endpoints is not None: + pulumi.set(__self__, "endpoints", endpoints) + if enrichments is not None: + pulumi.set(__self__, "enrichments", enrichments) + if fallback_route is not None: + pulumi.set(__self__, "fallback_route", fallback_route) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter + def endpoints(self) -> Optional['outputs.RoutingEndpointsResponse']: + """ + The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def enrichments(self) -> Optional[List['outputs.EnrichmentPropertiesResponse']]: + """ + The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid + """ + return pulumi.get(self, "enrichments") + + @property + @pulumi.getter(name="fallbackRoute") + def fallback_route(self) -> Optional['outputs.FallbackRoutePropertiesResponse']: + """ + The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. + """ + return pulumi.get(self, "fallback_route") + + @property + @pulumi.getter + def routes(self) -> Optional[List['outputs.RoutePropertiesResponse']]: + """ + The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. + """ + return pulumi.get(self, "routes") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingServiceBusQueueEndpointPropertiesResponse(dict): + """ + The properties related to service bus queue endpoint types. + """ + def __init__(__self__, *, + name: str, + authentication_type: Optional[str] = None, + connection_string: Optional[str] = None, + endpoint_uri: Optional[str] = None, + entity_path: Optional[str] = None, + id: Optional[str] = None, + resource_group: Optional[str] = None, + subscription_id: Optional[str] = None): + """ + The properties related to service bus queue endpoint types. + :param str name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + :param str authentication_type: Method used to authenticate against the service bus queue endpoint + :param str connection_string: The connection string of the service bus queue endpoint. + :param str endpoint_uri: The url of the service bus queue endpoint. It must include the protocol sb:// + :param str entity_path: Queue name on the service bus namespace + :param str id: Id of the service bus queue endpoint + :param str resource_group: The name of the resource group of the service bus queue endpoint. + :param str subscription_id: The subscription identifier of the service bus queue endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[str]: + """ + Method used to authenticate against the service bus queue endpoint + """ + return pulumi.get(self, "authentication_type") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[str]: + """ + The connection string of the service bus queue endpoint. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[str]: + """ + The url of the service bus queue endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[str]: + """ + Queue name on the service bus namespace + """ + return pulumi.get(self, "entity_path") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Id of the service bus queue endpoint + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[str]: + """ + The name of the resource group of the service bus queue endpoint. + """ + return pulumi.get(self, "resource_group") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription identifier of the service bus queue endpoint. + """ + return pulumi.get(self, "subscription_id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingServiceBusTopicEndpointPropertiesResponse(dict): + """ + The properties related to service bus topic endpoint types. + """ + def __init__(__self__, *, + name: str, + authentication_type: Optional[str] = None, + connection_string: Optional[str] = None, + endpoint_uri: Optional[str] = None, + entity_path: Optional[str] = None, + id: Optional[str] = None, + resource_group: Optional[str] = None, + subscription_id: Optional[str] = None): + """ + The properties related to service bus topic endpoint types. + :param str name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + :param str authentication_type: Method used to authenticate against the service bus topic endpoint + :param str connection_string: The connection string of the service bus topic endpoint. + :param str endpoint_uri: The url of the service bus topic endpoint. It must include the protocol sb:// + :param str entity_path: Queue name on the service bus topic + :param str id: Id of the service bus topic endpoint + :param str resource_group: The name of the resource group of the service bus topic endpoint. + :param str subscription_id: The subscription identifier of the service bus topic endpoint. + """ + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if entity_path is not None: + pulumi.set(__self__, "entity_path", entity_path) + if id is not None: + pulumi.set(__self__, "id", id) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[str]: + """ + Method used to authenticate against the service bus topic endpoint + """ + return pulumi.get(self, "authentication_type") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[str]: + """ + The connection string of the service bus topic endpoint. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[str]: + """ + The url of the service bus topic endpoint. It must include the protocol sb:// + """ + return pulumi.get(self, "endpoint_uri") + + @property + @pulumi.getter(name="entityPath") + def entity_path(self) -> Optional[str]: + """ + Queue name on the service bus topic + """ + return pulumi.get(self, "entity_path") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Id of the service bus topic endpoint + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[str]: + """ + The name of the resource group of the service bus topic endpoint. + """ + return pulumi.get(self, "resource_group") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription identifier of the service bus topic endpoint. + """ + return pulumi.get(self, "subscription_id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class RoutingStorageContainerPropertiesResponse(dict): + """ + The properties related to a storage container endpoint. + """ + def __init__(__self__, *, + container_name: str, + name: str, + authentication_type: Optional[str] = None, + batch_frequency_in_seconds: Optional[float] = None, + connection_string: Optional[str] = None, + encoding: Optional[str] = None, + endpoint_uri: Optional[str] = None, + file_name_format: Optional[str] = None, + id: Optional[str] = None, + max_chunk_size_in_bytes: Optional[float] = None, + resource_group: Optional[str] = None, + subscription_id: Optional[str] = None): + """ + The properties related to a storage container endpoint. + :param str container_name: The name of storage container in the storage account. + :param str name: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + :param str authentication_type: Method used to authenticate against the storage endpoint + :param float batch_frequency_in_seconds: Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + :param str connection_string: The connection string of the storage account. + :param str encoding: Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + :param str endpoint_uri: The url of the storage endpoint. It must include the protocol https:// + :param str file_name_format: File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + :param str id: Id of the storage container endpoint + :param float max_chunk_size_in_bytes: Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + :param str resource_group: The name of the resource group of the storage account. + :param str subscription_id: The subscription identifier of the storage account. + """ + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "name", name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if batch_frequency_in_seconds is not None: + pulumi.set(__self__, "batch_frequency_in_seconds", batch_frequency_in_seconds) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + if encoding is not None: + pulumi.set(__self__, "encoding", encoding) + if endpoint_uri is not None: + pulumi.set(__self__, "endpoint_uri", endpoint_uri) + if file_name_format is not None: + pulumi.set(__self__, "file_name_format", file_name_format) + if id is not None: + pulumi.set(__self__, "id", id) + if max_chunk_size_in_bytes is not None: + pulumi.set(__self__, "max_chunk_size_in_bytes", max_chunk_size_in_bytes) + if resource_group is not None: + pulumi.set(__self__, "resource_group", resource_group) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> str: + """ + The name of storage container in the storage account. + """ + return pulumi.get(self, "container_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[str]: + """ + Method used to authenticate against the storage endpoint + """ + return pulumi.get(self, "authentication_type") + + @property + @pulumi.getter(name="batchFrequencyInSeconds") + def batch_frequency_in_seconds(self) -> Optional[float]: + """ + Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. + """ + return pulumi.get(self, "batch_frequency_in_seconds") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[str]: + """ + The connection string of the storage account. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter + def encoding(self) -> Optional[str]: + """ + Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. + """ + return pulumi.get(self, "encoding") + + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> Optional[str]: + """ + The url of the storage endpoint. It must include the protocol https:// + """ + return pulumi.get(self, "endpoint_uri") + + @property + @pulumi.getter(name="fileNameFormat") + def file_name_format(self) -> Optional[str]: + """ + File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. + """ + return pulumi.get(self, "file_name_format") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Id of the storage container endpoint + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="maxChunkSizeInBytes") + def max_chunk_size_in_bytes(self) -> Optional[float]: + """ + Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). + """ + return pulumi.get(self, "max_chunk_size_in_bytes") + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[str]: + """ + The name of the resource group of the storage account. + """ + return pulumi.get(self, "resource_group") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription identifier of the storage account. + """ + return pulumi.get(self, "subscription_id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SharedAccessSignatureAuthorizationRuleResponse(dict): + """ + The properties of an IoT hub shared access policy. + """ + def __init__(__self__, *, + key_name: str, + rights: str, + primary_key: Optional[str] = None, + secondary_key: Optional[str] = None): + """ + The properties of an IoT hub shared access policy. + :param str key_name: The name of the shared access policy. + :param str rights: The permissions assigned to the shared access policy. + :param str primary_key: The primary key. + :param str secondary_key: The secondary key. + """ + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "rights", rights) + if primary_key is not None: + pulumi.set(__self__, "primary_key", primary_key) + if secondary_key is not None: + pulumi.set(__self__, "secondary_key", secondary_key) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> str: + """ + The name of the shared access policy. + """ + return pulumi.get(self, "key_name") + + @property + @pulumi.getter + def rights(self) -> str: + """ + The permissions assigned to the shared access policy. + """ + return pulumi.get(self, "rights") + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> Optional[str]: + """ + The primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> Optional[str]: + """ + The secondary key. + """ + return pulumi.get(self, "secondary_key") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class StorageEndpointPropertiesResponse(dict): + """ + The properties of the Azure Storage endpoint for file upload. + """ + def __init__(__self__, *, + connection_string: str, + container_name: str, + authentication_type: Optional[str] = None, + sas_ttl_as_iso8601: Optional[str] = None): + """ + The properties of the Azure Storage endpoint for file upload. + :param str connection_string: The connection string for the Azure Storage account to which files are uploaded. + :param str container_name: The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + :param str authentication_type: Specifies authentication type being used for connecting to the storage account. + :param str sas_ttl_as_iso8601: The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + """ + pulumi.set(__self__, "connection_string", connection_string) + pulumi.set(__self__, "container_name", container_name) + if authentication_type is not None: + pulumi.set(__self__, "authentication_type", authentication_type) + if sas_ttl_as_iso8601 is not None: + pulumi.set(__self__, "sas_ttl_as_iso8601", sas_ttl_as_iso8601) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> str: + """ + The connection string for the Azure Storage account to which files are uploaded. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> str: + """ + The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. + """ + return pulumi.get(self, "container_name") + + @property + @pulumi.getter(name="authenticationType") + def authentication_type(self) -> Optional[str]: + """ + Specifies authentication type being used for connecting to the storage account. + """ + return pulumi.get(self, "authentication_type") + + @property + @pulumi.getter(name="sasTtlAsIso8601") + def sas_ttl_as_iso8601(self) -> Optional[str]: + """ + The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. + """ + return pulumi.get(self, "sas_ttl_as_iso8601") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azurerm/devices/v20200801/private_endpoint_connection.py b/sdk/python/pulumi_azurerm/devices/v20200801/private_endpoint_connection.py new file mode 100644 index 000000000000..0274eabf1d33 --- /dev/null +++ b/sdk/python/pulumi_azurerm/devices/v20200801/private_endpoint_connection.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from . import outputs +from ._inputs import * + +__all__ = ['PrivateEndpointConnection'] + + +class PrivateEndpointConnection(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointConnectionPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The private endpoint connection of an IotHub + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection + :param pulumi.Input[pulumi.InputType['PrivateEndpointConnectionPropertiesArgs']] properties: The properties of a private endpoint connection + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the IoT hub. + :param pulumi.Input[str] resource_name_: The name of the IoT hub. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = dict() + + if private_endpoint_connection_name is None: + raise TypeError("Missing required property 'private_endpoint_connection_name'") + __props__['private_endpoint_connection_name'] = private_endpoint_connection_name + if properties is None: + raise TypeError("Missing required property 'properties'") + __props__['properties'] = properties + if resource_group_name is None: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + __props__['name'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:devices/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200301:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200401:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200615:PrivateEndpointConnection"), pulumi.Alias(type_="azurerm:devices/v20200710preview:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azurerm:devices/v20200801:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = dict() + + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.PrivateEndpointConnectionPropertiesResponse']: + """ + The properties of a private endpoint connection + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azurerm/hybridcompute/latest/_inputs.py b/sdk/python/pulumi_azurerm/hybridcompute/latest/_inputs.py index a6fcd2a9e97c..9814803e0901 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/latest/_inputs.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/latest/_inputs.py @@ -13,9 +13,6 @@ 'ConfigurationSettingArgs', 'GuestConfigurationAssignmentPropertiesArgs', 'GuestConfigurationNavigationArgs', - 'MachineExtensionInstanceViewArgs', - 'MachineExtensionInstanceViewStatusArgs', - 'MachineExtensionPropertiesInstanceViewArgs', 'MachineIdentityArgs', 'LocationDataArgs', ] @@ -292,238 +289,6 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) -@pulumi.input_type -class MachineExtensionInstanceViewArgs: - def __init__(__self__, *, - name: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']] = None, - type: Optional[pulumi.Input[str]] = None, - type_handler_version: Optional[pulumi.Input[str]] = None): - """ - Describes the Machine Extension Instance View. - :param pulumi.Input[str] name: The machine extension name. - :param pulumi.Input['MachineExtensionInstanceViewStatusArgs'] status: Instance view status. - :param pulumi.Input[str] type: Specifies the type of the extension; an example is "CustomScriptExtension". - :param pulumi.Input[str] type_handler_version: Specifies the version of the script handler. - """ - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The machine extension name. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the type of the extension; an example is "CustomScriptExtension". - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the version of the script handler. - """ - return pulumi.get(self, "type_handler_version") - - @type_handler_version.setter - def type_handler_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_handler_version", value) - - -@pulumi.input_type -class MachineExtensionInstanceViewStatusArgs: - def __init__(__self__, *, - code: Optional[pulumi.Input[str]] = None, - display_status: Optional[pulumi.Input[str]] = None, - level: Optional[pulumi.Input[str]] = None, - message: Optional[pulumi.Input[str]] = None, - time: Optional[pulumi.Input[str]] = None): - """ - Instance view status. - :param pulumi.Input[str] code: The status code. - :param pulumi.Input[str] display_status: The short localizable label for the status. - :param pulumi.Input[str] level: The level code. - :param pulumi.Input[str] message: The detailed status message, including for alerts and error messages. - :param pulumi.Input[str] time: The time of the status. - """ - if code is not None: - pulumi.set(__self__, "code", code) - if display_status is not None: - pulumi.set(__self__, "display_status", display_status) - if level is not None: - pulumi.set(__self__, "level", level) - if message is not None: - pulumi.set(__self__, "message", message) - if time is not None: - pulumi.set(__self__, "time", time) - - @property - @pulumi.getter - def code(self) -> Optional[pulumi.Input[str]]: - """ - The status code. - """ - return pulumi.get(self, "code") - - @code.setter - def code(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "code", value) - - @property - @pulumi.getter(name="displayStatus") - def display_status(self) -> Optional[pulumi.Input[str]]: - """ - The short localizable label for the status. - """ - return pulumi.get(self, "display_status") - - @display_status.setter - def display_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "display_status", value) - - @property - @pulumi.getter - def level(self) -> Optional[pulumi.Input[str]]: - """ - The level code. - """ - return pulumi.get(self, "level") - - @level.setter - def level(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "level", value) - - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: - """ - The detailed status message, including for alerts and error messages. - """ - return pulumi.get(self, "message") - - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) - - @property - @pulumi.getter - def time(self) -> Optional[pulumi.Input[str]]: - """ - The time of the status. - """ - return pulumi.get(self, "time") - - @time.setter - def time(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time", value) - - -@pulumi.input_type -class MachineExtensionPropertiesInstanceViewArgs: - def __init__(__self__, *, - name: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']] = None, - type: Optional[pulumi.Input[str]] = None, - type_handler_version: Optional[pulumi.Input[str]] = None): - """ - The machine extension instance view. - :param pulumi.Input[str] name: The machine extension name. - :param pulumi.Input['MachineExtensionInstanceViewStatusArgs'] status: Instance view status. - :param pulumi.Input[str] type: Specifies the type of the extension; an example is "CustomScriptExtension". - :param pulumi.Input[str] type_handler_version: Specifies the version of the script handler. - """ - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The machine extension name. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the type of the extension; an example is "CustomScriptExtension". - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the version of the script handler. - """ - return pulumi.get(self, "type_handler_version") - - @type_handler_version.setter - def type_handler_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_handler_version", value) - - @pulumi.input_type class MachineIdentityArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azurerm/hybridcompute/latest/get_machine.py b/sdk/python/pulumi_azurerm/hybridcompute/latest/get_machine.py index 99ce7dd7c90f..12ebc6588cda 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/latest/get_machine.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/latest/get_machine.py @@ -152,7 +152,7 @@ def error_details(self) -> List['outputs.ErrorDetailResponse']: @property @pulumi.getter - def extensions(self) -> Optional[List['outputs.MachineExtensionInstanceViewResponse']]: + def extensions(self) -> List['outputs.MachineExtensionInstanceViewResponse']: """ Machine Extensions information """ diff --git a/sdk/python/pulumi_azurerm/hybridcompute/latest/machine.py b/sdk/python/pulumi_azurerm/hybridcompute/latest/machine.py index fb12a07994db..9a963ca9ad1e 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/latest/machine.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/latest/machine.py @@ -18,7 +18,6 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, client_public_key: Optional[pulumi.Input[str]] = None, - extensions: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['MachineExtensionInstanceViewArgs']]]]] = None, identity: Optional[pulumi.Input[pulumi.InputType['MachineIdentityArgs']]] = None, location: Optional[pulumi.Input[str]] = None, location_data: Optional[pulumi.Input[pulumi.InputType['LocationDataArgs']]] = None, @@ -35,7 +34,6 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] client_public_key: Public Key that the client provides to be used during initial resource onboarding - :param pulumi.Input[List[pulumi.Input[pulumi.InputType['MachineExtensionInstanceViewArgs']]]] extensions: Machine Extensions information :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[pulumi.InputType['LocationDataArgs']] location_data: Metadata pertaining to the geographic location of the resource. :param pulumi.Input[str] name: The name of the hybrid machine. @@ -61,7 +59,6 @@ def __init__(__self__, __props__ = dict() __props__['client_public_key'] = client_public_key - __props__['extensions'] = extensions __props__['identity'] = identity if location is None: raise TypeError("Missing required property 'location'") @@ -81,6 +78,7 @@ def __init__(__self__, __props__['dns_fqdn'] = None __props__['domain_name'] = None __props__['error_details'] = None + __props__['extensions'] = None __props__['last_status_change'] = None __props__['machine_fqdn'] = None __props__['os_name'] = None @@ -175,7 +173,7 @@ def error_details(self) -> pulumi.Output[List['outputs.ErrorDetailResponse']]: @property @pulumi.getter - def extensions(self) -> pulumi.Output[Optional[List['outputs.MachineExtensionInstanceViewResponse']]]: + def extensions(self) -> pulumi.Output[List['outputs.MachineExtensionInstanceViewResponse']]: """ Machine Extensions information """ diff --git a/sdk/python/pulumi_azurerm/hybridcompute/latest/machine_extension.py b/sdk/python/pulumi_azurerm/hybridcompute/latest/machine_extension.py index b391c0f20921..c88feb78c67b 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/latest/machine_extension.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/latest/machine_extension.py @@ -8,7 +8,6 @@ from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from ... import _utilities, _tables from . import outputs -from ._inputs import * __all__ = ['MachineExtension'] @@ -20,7 +19,6 @@ def __init__(__self__, auto_upgrade_minor_version: Optional[pulumi.Input[bool]] = None, extension_name: Optional[pulumi.Input[str]] = None, force_update_tag: Optional[pulumi.Input[str]] = None, - instance_view: Optional[pulumi.Input[pulumi.InputType['MachineExtensionPropertiesInstanceViewArgs']]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, protected_settings: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -41,7 +39,6 @@ def __init__(__self__, :param pulumi.Input[bool] auto_upgrade_minor_version: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. :param pulumi.Input[str] extension_name: The name of the machine extension. :param pulumi.Input[str] force_update_tag: How the extension handler should be forced to update even if the extension configuration has not changed. - :param pulumi.Input[pulumi.InputType['MachineExtensionPropertiesInstanceViewArgs']] instance_view: The machine extension instance view. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[str] name: The name of the machine where the extension should be created or updated. :param pulumi.Input[Mapping[str, Any]] protected_settings: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. @@ -74,7 +71,6 @@ def __init__(__self__, raise TypeError("Missing required property 'extension_name'") __props__['extension_name'] = extension_name __props__['force_update_tag'] = force_update_tag - __props__['instance_view'] = instance_view if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location @@ -90,6 +86,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['type'] = type __props__['type_handler_version'] = type_handler_version + __props__['instance_view'] = None __props__['provisioning_state'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:hybridcompute/v20190802preview:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20191212:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20200730preview:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20200802:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20200815preview:MachineExtension")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) diff --git a/sdk/python/pulumi_azurerm/hybridcompute/latest/outputs.py b/sdk/python/pulumi_azurerm/hybridcompute/latest/outputs.py index b3ae8b4d6fc2..c686ec6e0de0 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/latest/outputs.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/latest/outputs.py @@ -707,29 +707,26 @@ class MachineExtensionInstanceViewResponse(dict): Describes the Machine Extension Instance View. """ def __init__(__self__, *, - name: Optional[str] = None, - status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None, - type: Optional[str] = None, - type_handler_version: Optional[str] = None): + name: str, + type: str, + type_handler_version: str, + status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None): """ Describes the Machine Extension Instance View. :param str name: The machine extension name. - :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. :param str type: Specifies the type of the extension; an example is "CustomScriptExtension". :param str type_handler_version: Specifies the version of the script handler. + :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. """ - if name is not None: - pulumi.set(__self__, "name", name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "type_handler_version", type_handler_version) if status is not None: pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) @property @pulumi.getter - def name(self) -> Optional[str]: + def name(self) -> str: """ The machine extension name. """ @@ -737,15 +734,7 @@ def name(self) -> Optional[str]: @property @pulumi.getter - def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def type(self) -> Optional[str]: + def type(self) -> str: """ Specifies the type of the extension; an example is "CustomScriptExtension". """ @@ -753,12 +742,20 @@ def type(self) -> Optional[str]: @property @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[str]: + def type_handler_version(self) -> str: """ Specifies the version of the script handler. """ return pulumi.get(self, "type_handler_version") + @property + @pulumi.getter + def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: + """ + Instance view status. + """ + return pulumi.get(self, "status") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop @@ -769,11 +766,11 @@ class MachineExtensionInstanceViewResponseStatus(dict): Instance view status. """ def __init__(__self__, *, - code: Optional[str] = None, - display_status: Optional[str] = None, - level: Optional[str] = None, - message: Optional[str] = None, - time: Optional[str] = None): + code: str, + display_status: str, + level: str, + message: str, + time: str): """ Instance view status. :param str code: The status code. @@ -782,20 +779,15 @@ def __init__(__self__, *, :param str message: The detailed status message, including for alerts and error messages. :param str time: The time of the status. """ - if code is not None: - pulumi.set(__self__, "code", code) - if display_status is not None: - pulumi.set(__self__, "display_status", display_status) - if level is not None: - pulumi.set(__self__, "level", level) - if message is not None: - pulumi.set(__self__, "message", message) - if time is not None: - pulumi.set(__self__, "time", time) + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "display_status", display_status) + pulumi.set(__self__, "level", level) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "time", time) @property @pulumi.getter - def code(self) -> Optional[str]: + def code(self) -> str: """ The status code. """ @@ -803,7 +795,7 @@ def code(self) -> Optional[str]: @property @pulumi.getter(name="displayStatus") - def display_status(self) -> Optional[str]: + def display_status(self) -> str: """ The short localizable label for the status. """ @@ -811,7 +803,7 @@ def display_status(self) -> Optional[str]: @property @pulumi.getter - def level(self) -> Optional[str]: + def level(self) -> str: """ The level code. """ @@ -819,7 +811,7 @@ def level(self) -> Optional[str]: @property @pulumi.getter - def message(self) -> Optional[str]: + def message(self) -> str: """ The detailed status message, including for alerts and error messages. """ @@ -827,7 +819,7 @@ def message(self) -> Optional[str]: @property @pulumi.getter - def time(self) -> Optional[str]: + def time(self) -> str: """ The time of the status. """ @@ -843,29 +835,26 @@ class MachineExtensionPropertiesResponseInstanceView(dict): The machine extension instance view. """ def __init__(__self__, *, - name: Optional[str] = None, - status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None, - type: Optional[str] = None, - type_handler_version: Optional[str] = None): + name: str, + type: str, + type_handler_version: str, + status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None): """ The machine extension instance view. :param str name: The machine extension name. - :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. :param str type: Specifies the type of the extension; an example is "CustomScriptExtension". :param str type_handler_version: Specifies the version of the script handler. + :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. """ - if name is not None: - pulumi.set(__self__, "name", name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "type_handler_version", type_handler_version) if status is not None: pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) @property @pulumi.getter - def name(self) -> Optional[str]: + def name(self) -> str: """ The machine extension name. """ @@ -873,15 +862,7 @@ def name(self) -> Optional[str]: @property @pulumi.getter - def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def type(self) -> Optional[str]: + def type(self) -> str: """ Specifies the type of the extension; an example is "CustomScriptExtension". """ @@ -889,12 +870,20 @@ def type(self) -> Optional[str]: @property @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[str]: + def type_handler_version(self) -> str: """ Specifies the version of the script handler. """ return pulumi.get(self, "type_handler_version") + @property + @pulumi.getter + def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: + """ + Instance view status. + """ + return pulumi.get(self, "status") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop diff --git a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/_inputs.py b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/_inputs.py index 10cb6837acab..67680c9499a6 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/_inputs.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/_inputs.py @@ -9,245 +9,10 @@ from ... import _utilities, _tables __all__ = [ - 'MachineExtensionInstanceViewArgs', - 'MachineExtensionInstanceViewStatusArgs', - 'MachineExtensionPropertiesInstanceViewArgs', 'MachineIdentityArgs', 'LocationDataArgs', ] -@pulumi.input_type -class MachineExtensionInstanceViewArgs: - def __init__(__self__, *, - name: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']] = None, - type: Optional[pulumi.Input[str]] = None, - type_handler_version: Optional[pulumi.Input[str]] = None): - """ - Describes the Machine Extension Instance View. - :param pulumi.Input[str] name: The machine extension name. - :param pulumi.Input['MachineExtensionInstanceViewStatusArgs'] status: Instance view status. - :param pulumi.Input[str] type: Specifies the type of the extension; an example is "CustomScriptExtension". - :param pulumi.Input[str] type_handler_version: Specifies the version of the script handler. - """ - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The machine extension name. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the type of the extension; an example is "CustomScriptExtension". - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the version of the script handler. - """ - return pulumi.get(self, "type_handler_version") - - @type_handler_version.setter - def type_handler_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_handler_version", value) - - -@pulumi.input_type -class MachineExtensionInstanceViewStatusArgs: - def __init__(__self__, *, - code: Optional[pulumi.Input[str]] = None, - display_status: Optional[pulumi.Input[str]] = None, - level: Optional[pulumi.Input[str]] = None, - message: Optional[pulumi.Input[str]] = None, - time: Optional[pulumi.Input[str]] = None): - """ - Instance view status. - :param pulumi.Input[str] code: The status code. - :param pulumi.Input[str] display_status: The short localizable label for the status. - :param pulumi.Input[str] level: The level code. - :param pulumi.Input[str] message: The detailed status message, including for alerts and error messages. - :param pulumi.Input[str] time: The time of the status. - """ - if code is not None: - pulumi.set(__self__, "code", code) - if display_status is not None: - pulumi.set(__self__, "display_status", display_status) - if level is not None: - pulumi.set(__self__, "level", level) - if message is not None: - pulumi.set(__self__, "message", message) - if time is not None: - pulumi.set(__self__, "time", time) - - @property - @pulumi.getter - def code(self) -> Optional[pulumi.Input[str]]: - """ - The status code. - """ - return pulumi.get(self, "code") - - @code.setter - def code(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "code", value) - - @property - @pulumi.getter(name="displayStatus") - def display_status(self) -> Optional[pulumi.Input[str]]: - """ - The short localizable label for the status. - """ - return pulumi.get(self, "display_status") - - @display_status.setter - def display_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "display_status", value) - - @property - @pulumi.getter - def level(self) -> Optional[pulumi.Input[str]]: - """ - The level code. - """ - return pulumi.get(self, "level") - - @level.setter - def level(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "level", value) - - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: - """ - The detailed status message, including for alerts and error messages. - """ - return pulumi.get(self, "message") - - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) - - @property - @pulumi.getter - def time(self) -> Optional[pulumi.Input[str]]: - """ - The time of the status. - """ - return pulumi.get(self, "time") - - @time.setter - def time(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time", value) - - -@pulumi.input_type -class MachineExtensionPropertiesInstanceViewArgs: - def __init__(__self__, *, - name: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']] = None, - type: Optional[pulumi.Input[str]] = None, - type_handler_version: Optional[pulumi.Input[str]] = None): - """ - The machine extension instance view. - :param pulumi.Input[str] name: The machine extension name. - :param pulumi.Input['MachineExtensionInstanceViewStatusArgs'] status: Instance view status. - :param pulumi.Input[str] type: Specifies the type of the extension; an example is "CustomScriptExtension". - :param pulumi.Input[str] type_handler_version: Specifies the version of the script handler. - """ - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The machine extension name. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input['MachineExtensionInstanceViewStatusArgs']]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the type of the extension; an example is "CustomScriptExtension". - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[pulumi.Input[str]]: - """ - Specifies the version of the script handler. - """ - return pulumi.get(self, "type_handler_version") - - @type_handler_version.setter - def type_handler_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_handler_version", value) - - @pulumi.input_type class MachineIdentityArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/get_machine.py b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/get_machine.py index 2901310dbaad..c2c97ee6fda2 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/get_machine.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/get_machine.py @@ -152,7 +152,7 @@ def error_details(self) -> List['outputs.ErrorDetailResponse']: @property @pulumi.getter - def extensions(self) -> Optional[List['outputs.MachineExtensionInstanceViewResponse']]: + def extensions(self) -> List['outputs.MachineExtensionInstanceViewResponse']: """ Machine Extensions information """ diff --git a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine.py b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine.py index ccc0fd856acd..f5584b7d39d6 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine.py @@ -18,7 +18,6 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, client_public_key: Optional[pulumi.Input[str]] = None, - extensions: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['MachineExtensionInstanceViewArgs']]]]] = None, identity: Optional[pulumi.Input[pulumi.InputType['MachineIdentityArgs']]] = None, location: Optional[pulumi.Input[str]] = None, location_data: Optional[pulumi.Input[pulumi.InputType['LocationDataArgs']]] = None, @@ -35,7 +34,6 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] client_public_key: Public Key that the client provides to be used during initial resource onboarding - :param pulumi.Input[List[pulumi.Input[pulumi.InputType['MachineExtensionInstanceViewArgs']]]] extensions: Machine Extensions information :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[pulumi.InputType['LocationDataArgs']] location_data: Metadata pertaining to the geographic location of the resource. :param pulumi.Input[str] name: The name of the hybrid machine. @@ -61,7 +59,6 @@ def __init__(__self__, __props__ = dict() __props__['client_public_key'] = client_public_key - __props__['extensions'] = extensions __props__['identity'] = identity if location is None: raise TypeError("Missing required property 'location'") @@ -81,6 +78,7 @@ def __init__(__self__, __props__['dns_fqdn'] = None __props__['domain_name'] = None __props__['error_details'] = None + __props__['extensions'] = None __props__['last_status_change'] = None __props__['machine_fqdn'] = None __props__['os_name'] = None @@ -175,7 +173,7 @@ def error_details(self) -> pulumi.Output[List['outputs.ErrorDetailResponse']]: @property @pulumi.getter - def extensions(self) -> pulumi.Output[Optional[List['outputs.MachineExtensionInstanceViewResponse']]]: + def extensions(self) -> pulumi.Output[List['outputs.MachineExtensionInstanceViewResponse']]: """ Machine Extensions information """ diff --git a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine_extension.py b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine_extension.py index 3bcef2287d13..e0aa031c0069 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine_extension.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/machine_extension.py @@ -8,7 +8,6 @@ from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from ... import _utilities, _tables from . import outputs -from ._inputs import * __all__ = ['MachineExtension'] @@ -20,7 +19,6 @@ def __init__(__self__, auto_upgrade_minor_version: Optional[pulumi.Input[bool]] = None, extension_name: Optional[pulumi.Input[str]] = None, force_update_tag: Optional[pulumi.Input[str]] = None, - instance_view: Optional[pulumi.Input[pulumi.InputType['MachineExtensionPropertiesInstanceViewArgs']]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, protected_settings: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -41,7 +39,6 @@ def __init__(__self__, :param pulumi.Input[bool] auto_upgrade_minor_version: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. :param pulumi.Input[str] extension_name: The name of the machine extension. :param pulumi.Input[str] force_update_tag: How the extension handler should be forced to update even if the extension configuration has not changed. - :param pulumi.Input[pulumi.InputType['MachineExtensionPropertiesInstanceViewArgs']] instance_view: The machine extension instance view. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[str] name: The name of the machine where the extension should be created or updated. :param pulumi.Input[Mapping[str, Any]] protected_settings: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. @@ -74,7 +71,6 @@ def __init__(__self__, raise TypeError("Missing required property 'extension_name'") __props__['extension_name'] = extension_name __props__['force_update_tag'] = force_update_tag - __props__['instance_view'] = instance_view if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location @@ -90,6 +86,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['type'] = type __props__['type_handler_version'] = type_handler_version + __props__['instance_view'] = None __props__['provisioning_state'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azurerm:hybridcompute/latest:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20190802preview:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20191212:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20200730preview:MachineExtension"), pulumi.Alias(type_="azurerm:hybridcompute/v20200815preview:MachineExtension")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) diff --git a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/outputs.py b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/outputs.py index 7cc2932d473a..93867c58c74d 100644 --- a/sdk/python/pulumi_azurerm/hybridcompute/v20200802/outputs.py +++ b/sdk/python/pulumi_azurerm/hybridcompute/v20200802/outputs.py @@ -81,29 +81,26 @@ class MachineExtensionInstanceViewResponse(dict): Describes the Machine Extension Instance View. """ def __init__(__self__, *, - name: Optional[str] = None, - status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None, - type: Optional[str] = None, - type_handler_version: Optional[str] = None): + name: str, + type: str, + type_handler_version: str, + status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None): """ Describes the Machine Extension Instance View. :param str name: The machine extension name. - :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. :param str type: Specifies the type of the extension; an example is "CustomScriptExtension". :param str type_handler_version: Specifies the version of the script handler. + :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. """ - if name is not None: - pulumi.set(__self__, "name", name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "type_handler_version", type_handler_version) if status is not None: pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) @property @pulumi.getter - def name(self) -> Optional[str]: + def name(self) -> str: """ The machine extension name. """ @@ -111,15 +108,7 @@ def name(self) -> Optional[str]: @property @pulumi.getter - def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def type(self) -> Optional[str]: + def type(self) -> str: """ Specifies the type of the extension; an example is "CustomScriptExtension". """ @@ -127,12 +116,20 @@ def type(self) -> Optional[str]: @property @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[str]: + def type_handler_version(self) -> str: """ Specifies the version of the script handler. """ return pulumi.get(self, "type_handler_version") + @property + @pulumi.getter + def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: + """ + Instance view status. + """ + return pulumi.get(self, "status") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop @@ -143,11 +140,11 @@ class MachineExtensionInstanceViewResponseStatus(dict): Instance view status. """ def __init__(__self__, *, - code: Optional[str] = None, - display_status: Optional[str] = None, - level: Optional[str] = None, - message: Optional[str] = None, - time: Optional[str] = None): + code: str, + display_status: str, + level: str, + message: str, + time: str): """ Instance view status. :param str code: The status code. @@ -156,20 +153,15 @@ def __init__(__self__, *, :param str message: The detailed status message, including for alerts and error messages. :param str time: The time of the status. """ - if code is not None: - pulumi.set(__self__, "code", code) - if display_status is not None: - pulumi.set(__self__, "display_status", display_status) - if level is not None: - pulumi.set(__self__, "level", level) - if message is not None: - pulumi.set(__self__, "message", message) - if time is not None: - pulumi.set(__self__, "time", time) + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "display_status", display_status) + pulumi.set(__self__, "level", level) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "time", time) @property @pulumi.getter - def code(self) -> Optional[str]: + def code(self) -> str: """ The status code. """ @@ -177,7 +169,7 @@ def code(self) -> Optional[str]: @property @pulumi.getter(name="displayStatus") - def display_status(self) -> Optional[str]: + def display_status(self) -> str: """ The short localizable label for the status. """ @@ -185,7 +177,7 @@ def display_status(self) -> Optional[str]: @property @pulumi.getter - def level(self) -> Optional[str]: + def level(self) -> str: """ The level code. """ @@ -193,7 +185,7 @@ def level(self) -> Optional[str]: @property @pulumi.getter - def message(self) -> Optional[str]: + def message(self) -> str: """ The detailed status message, including for alerts and error messages. """ @@ -201,7 +193,7 @@ def message(self) -> Optional[str]: @property @pulumi.getter - def time(self) -> Optional[str]: + def time(self) -> str: """ The time of the status. """ @@ -217,29 +209,26 @@ class MachineExtensionPropertiesResponseInstanceView(dict): The machine extension instance view. """ def __init__(__self__, *, - name: Optional[str] = None, - status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None, - type: Optional[str] = None, - type_handler_version: Optional[str] = None): + name: str, + type: str, + type_handler_version: str, + status: Optional['outputs.MachineExtensionInstanceViewResponseStatus'] = None): """ The machine extension instance view. :param str name: The machine extension name. - :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. :param str type: Specifies the type of the extension; an example is "CustomScriptExtension". :param str type_handler_version: Specifies the version of the script handler. + :param 'MachineExtensionInstanceViewResponseStatusArgs' status: Instance view status. """ - if name is not None: - pulumi.set(__self__, "name", name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "type_handler_version", type_handler_version) if status is not None: pulumi.set(__self__, "status", status) - if type is not None: - pulumi.set(__self__, "type", type) - if type_handler_version is not None: - pulumi.set(__self__, "type_handler_version", type_handler_version) @property @pulumi.getter - def name(self) -> Optional[str]: + def name(self) -> str: """ The machine extension name. """ @@ -247,15 +236,7 @@ def name(self) -> Optional[str]: @property @pulumi.getter - def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: - """ - Instance view status. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def type(self) -> Optional[str]: + def type(self) -> str: """ Specifies the type of the extension; an example is "CustomScriptExtension". """ @@ -263,12 +244,20 @@ def type(self) -> Optional[str]: @property @pulumi.getter(name="typeHandlerVersion") - def type_handler_version(self) -> Optional[str]: + def type_handler_version(self) -> str: """ Specifies the version of the script handler. """ return pulumi.get(self, "type_handler_version") + @property + @pulumi.getter + def status(self) -> Optional['outputs.MachineExtensionInstanceViewResponseStatus']: + """ + Instance view status. + """ + return pulumi.get(self, "status") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop diff --git a/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/_inputs.py b/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/_inputs.py index 6272af2ae266..c7f0f5f0d557 100644 --- a/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/_inputs.py +++ b/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/_inputs.py @@ -727,26 +727,73 @@ def identity_client_id(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class LinkedServicePropsArgs: def __init__(__self__, *, - linked_service_resource_id: Optional[pulumi.Input[str]] = None): + linked_service_resource_id: pulumi.Input[str], + created_time: Optional[pulumi.Input[str]] = None, + link_type: Optional[pulumi.Input[str]] = None, + modified_time: Optional[pulumi.Input[str]] = None): """ LinkedService specific properties. :param pulumi.Input[str] linked_service_resource_id: ResourceId of the link target of the linked service. + :param pulumi.Input[str] created_time: The creation time of the linked service. + :param pulumi.Input[str] link_type: Type of the link target. + :param pulumi.Input[str] modified_time: The last modified time of the linked service. """ - if linked_service_resource_id is not None: - pulumi.set(__self__, "linked_service_resource_id", linked_service_resource_id) + pulumi.set(__self__, "linked_service_resource_id", linked_service_resource_id) + if created_time is not None: + pulumi.set(__self__, "created_time", created_time) + if link_type is not None: + pulumi.set(__self__, "link_type", link_type) + if modified_time is not None: + pulumi.set(__self__, "modified_time", modified_time) @property @pulumi.getter(name="linkedServiceResourceId") - def linked_service_resource_id(self) -> Optional[pulumi.Input[str]]: + def linked_service_resource_id(self) -> pulumi.Input[str]: """ ResourceId of the link target of the linked service. """ return pulumi.get(self, "linked_service_resource_id") @linked_service_resource_id.setter - def linked_service_resource_id(self, value: Optional[pulumi.Input[str]]): + def linked_service_resource_id(self, value: pulumi.Input[str]): pulumi.set(self, "linked_service_resource_id", value) + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> Optional[pulumi.Input[str]]: + """ + The creation time of the linked service. + """ + return pulumi.get(self, "created_time") + + @created_time.setter + def created_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_time", value) + + @property + @pulumi.getter(name="linkType") + def link_type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the link target. + """ + return pulumi.get(self, "link_type") + + @link_type.setter + def link_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "link_type", value) + + @property + @pulumi.getter(name="modifiedTime") + def modified_time(self) -> Optional[pulumi.Input[str]]: + """ + The last modified time of the linked service. + """ + return pulumi.get(self, "modified_time") + + @modified_time.setter + def modified_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "modified_time", value) + @pulumi.input_type class ModelArgs: diff --git a/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/outputs.py b/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/outputs.py index 96c7a84a4121..da1b33f98d07 100644 --- a/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/outputs.py +++ b/sdk/python/pulumi_azurerm/machinelearningservices/v20200901preview/outputs.py @@ -449,22 +449,57 @@ class LinkedServicePropsResponse(dict): LinkedService specific properties. """ def __init__(__self__, *, - linked_service_resource_id: Optional[str] = None): + linked_service_resource_id: str, + created_time: Optional[str] = None, + link_type: Optional[str] = None, + modified_time: Optional[str] = None): """ LinkedService specific properties. :param str linked_service_resource_id: ResourceId of the link target of the linked service. + :param str created_time: The creation time of the linked service. + :param str link_type: Type of the link target. + :param str modified_time: The last modified time of the linked service. """ - if linked_service_resource_id is not None: - pulumi.set(__self__, "linked_service_resource_id", linked_service_resource_id) + pulumi.set(__self__, "linked_service_resource_id", linked_service_resource_id) + if created_time is not None: + pulumi.set(__self__, "created_time", created_time) + if link_type is not None: + pulumi.set(__self__, "link_type", link_type) + if modified_time is not None: + pulumi.set(__self__, "modified_time", modified_time) @property @pulumi.getter(name="linkedServiceResourceId") - def linked_service_resource_id(self) -> Optional[str]: + def linked_service_resource_id(self) -> str: """ ResourceId of the link target of the linked service. """ return pulumi.get(self, "linked_service_resource_id") + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> Optional[str]: + """ + The creation time of the linked service. + """ + return pulumi.get(self, "created_time") + + @property + @pulumi.getter(name="linkType") + def link_type(self) -> Optional[str]: + """ + Type of the link target. + """ + return pulumi.get(self, "link_type") + + @property + @pulumi.getter(name="modifiedTime") + def modified_time(self) -> Optional[str]: + """ + The last modified time of the linked service. + """ + return pulumi.get(self, "modified_time") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop diff --git a/sdk/python/pulumi_azurerm/search/latest/_inputs.py b/sdk/python/pulumi_azurerm/search/latest/_inputs.py index afa1a0349f5c..205ff76e7a72 100644 --- a/sdk/python/pulumi_azurerm/search/latest/_inputs.py +++ b/sdk/python/pulumi_azurerm/search/latest/_inputs.py @@ -320,7 +320,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param pulumi.Input[str] name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param pulumi.Input[str] name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -329,7 +329,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/latest/get_service.py b/sdk/python/pulumi_azurerm/search/latest/get_service.py index f573924785f1..afb45f0b7c79 100644 --- a/sdk/python/pulumi_azurerm/search/latest/get_service.py +++ b/sdk/python/pulumi_azurerm/search/latest/get_service.py @@ -114,7 +114,7 @@ def network_rule_set(self) -> Optional['outputs.NetworkRuleSetResponse']: @pulumi.getter(name="partitionCount") def partition_count(self) -> Optional[float]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -130,7 +130,7 @@ def private_endpoint_connections(self) -> List['outputs.PrivateEndpointConnectio @pulumi.getter(name="provisioningState") def provisioning_state(self) -> str: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -146,7 +146,7 @@ def public_network_access(self) -> Optional[str]: @pulumi.getter(name="replicaCount") def replica_count(self) -> Optional[float]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -170,7 +170,7 @@ def sku(self) -> Optional['outputs.SkuResponse']: @pulumi.getter def status(self) -> str: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -178,7 +178,7 @@ def status(self) -> str: @pulumi.getter(name="statusDetails") def status_details(self) -> str: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/search/latest/list_admin_key.py b/sdk/python/pulumi_azurerm/search/latest/list_admin_key.py index 52dd6791cedf..778d61306f73 100644 --- a/sdk/python/pulumi_azurerm/search/latest/list_admin_key.py +++ b/sdk/python/pulumi_azurerm/search/latest/list_admin_key.py @@ -31,7 +31,7 @@ def __init__(__self__, primary_key=None, secondary_key=None): @pulumi.getter(name="primaryKey") def primary_key(self) -> str: """ - The primary admin API key of the Search service. + The primary admin API key of the search service. """ return pulumi.get(self, "primary_key") @@ -39,7 +39,7 @@ def primary_key(self) -> str: @pulumi.getter(name="secondaryKey") def secondary_key(self) -> str: """ - The secondary admin API key of the Search service. + The secondary admin API key of the search service. """ return pulumi.get(self, "secondary_key") diff --git a/sdk/python/pulumi_azurerm/search/latest/outputs.py b/sdk/python/pulumi_azurerm/search/latest/outputs.py index 3476d70d4b4e..0cc23c47e52d 100644 --- a/sdk/python/pulumi_azurerm/search/latest/outputs.py +++ b/sdk/python/pulumi_azurerm/search/latest/outputs.py @@ -482,7 +482,7 @@ def __init__(__self__, *, name: Optional[str] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param str name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param str name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -491,7 +491,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[str]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/latest/service.py b/sdk/python/pulumi_azurerm/search/latest/service.py index 5ff09f422fc5..63546942ca59 100644 --- a/sdk/python/pulumi_azurerm/search/latest/service.py +++ b/sdk/python/pulumi_azurerm/search/latest/service.py @@ -40,9 +40,9 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity of the resource. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']] network_rule_set: Network specific rules that determine how the Azure Cognitive Search service may be reached. - :param pulumi.Input[float] partition_count: The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + :param pulumi.Input[float] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. :param pulumi.Input[str] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. - :param pulumi.Input[float] replica_count: The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + :param pulumi.Input[float] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. :param pulumi.Input[str] search_service_name: The name of the Azure Cognitive Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. @@ -159,7 +159,7 @@ def network_rule_set(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResp @pulumi.getter(name="partitionCount") def partition_count(self) -> pulumi.Output[Optional[float]]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -175,7 +175,7 @@ def private_endpoint_connections(self) -> pulumi.Output[List['outputs.PrivateEnd @pulumi.getter(name="provisioningState") def provisioning_state(self) -> pulumi.Output[str]: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -191,7 +191,7 @@ def public_network_access(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="replicaCount") def replica_count(self) -> pulumi.Output[Optional[float]]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -215,7 +215,7 @@ def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -223,7 +223,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter(name="statusDetails") def status_details(self) -> pulumi.Output[str]: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/search/v20200801/_inputs.py b/sdk/python/pulumi_azurerm/search/v20200801/_inputs.py index afa1a0349f5c..205ff76e7a72 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801/_inputs.py +++ b/sdk/python/pulumi_azurerm/search/v20200801/_inputs.py @@ -320,7 +320,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param pulumi.Input[str] name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param pulumi.Input[str] name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -329,7 +329,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/v20200801/get_service.py b/sdk/python/pulumi_azurerm/search/v20200801/get_service.py index cb9b36e7cba3..af6a3da65eba 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801/get_service.py +++ b/sdk/python/pulumi_azurerm/search/v20200801/get_service.py @@ -114,7 +114,7 @@ def network_rule_set(self) -> Optional['outputs.NetworkRuleSetResponse']: @pulumi.getter(name="partitionCount") def partition_count(self) -> Optional[float]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -130,7 +130,7 @@ def private_endpoint_connections(self) -> List['outputs.PrivateEndpointConnectio @pulumi.getter(name="provisioningState") def provisioning_state(self) -> str: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -146,7 +146,7 @@ def public_network_access(self) -> Optional[str]: @pulumi.getter(name="replicaCount") def replica_count(self) -> Optional[float]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -170,7 +170,7 @@ def sku(self) -> Optional['outputs.SkuResponse']: @pulumi.getter def status(self) -> str: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -178,7 +178,7 @@ def status(self) -> str: @pulumi.getter(name="statusDetails") def status_details(self) -> str: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/search/v20200801/list_admin_key.py b/sdk/python/pulumi_azurerm/search/v20200801/list_admin_key.py index e2e450277bd1..afff6faf57d0 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801/list_admin_key.py +++ b/sdk/python/pulumi_azurerm/search/v20200801/list_admin_key.py @@ -31,7 +31,7 @@ def __init__(__self__, primary_key=None, secondary_key=None): @pulumi.getter(name="primaryKey") def primary_key(self) -> str: """ - The primary admin API key of the Search service. + The primary admin API key of the search service. """ return pulumi.get(self, "primary_key") @@ -39,7 +39,7 @@ def primary_key(self) -> str: @pulumi.getter(name="secondaryKey") def secondary_key(self) -> str: """ - The secondary admin API key of the Search service. + The secondary admin API key of the search service. """ return pulumi.get(self, "secondary_key") diff --git a/sdk/python/pulumi_azurerm/search/v20200801/outputs.py b/sdk/python/pulumi_azurerm/search/v20200801/outputs.py index 3476d70d4b4e..0cc23c47e52d 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801/outputs.py +++ b/sdk/python/pulumi_azurerm/search/v20200801/outputs.py @@ -482,7 +482,7 @@ def __init__(__self__, *, name: Optional[str] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param str name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param str name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -491,7 +491,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[str]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/v20200801/service.py b/sdk/python/pulumi_azurerm/search/v20200801/service.py index b1ab3f14fa81..88d09abd26f5 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801/service.py +++ b/sdk/python/pulumi_azurerm/search/v20200801/service.py @@ -40,9 +40,9 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity of the resource. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']] network_rule_set: Network specific rules that determine how the Azure Cognitive Search service may be reached. - :param pulumi.Input[float] partition_count: The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + :param pulumi.Input[float] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. :param pulumi.Input[str] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. - :param pulumi.Input[float] replica_count: The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + :param pulumi.Input[float] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. :param pulumi.Input[str] search_service_name: The name of the Azure Cognitive Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. @@ -159,7 +159,7 @@ def network_rule_set(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResp @pulumi.getter(name="partitionCount") def partition_count(self) -> pulumi.Output[Optional[float]]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -175,7 +175,7 @@ def private_endpoint_connections(self) -> pulumi.Output[List['outputs.PrivateEnd @pulumi.getter(name="provisioningState") def provisioning_state(self) -> pulumi.Output[str]: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -191,7 +191,7 @@ def public_network_access(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="replicaCount") def replica_count(self) -> pulumi.Output[Optional[float]]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -215,7 +215,7 @@ def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -223,7 +223,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter(name="statusDetails") def status_details(self) -> pulumi.Output[str]: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/search/v20200801preview/_inputs.py b/sdk/python/pulumi_azurerm/search/v20200801preview/_inputs.py index afa1a0349f5c..205ff76e7a72 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801preview/_inputs.py +++ b/sdk/python/pulumi_azurerm/search/v20200801preview/_inputs.py @@ -320,7 +320,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param pulumi.Input[str] name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param pulumi.Input[str] name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -329,7 +329,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/v20200801preview/get_service.py b/sdk/python/pulumi_azurerm/search/v20200801preview/get_service.py index 3f58094fe397..97d2fc9973ac 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801preview/get_service.py +++ b/sdk/python/pulumi_azurerm/search/v20200801preview/get_service.py @@ -114,7 +114,7 @@ def network_rule_set(self) -> Optional['outputs.NetworkRuleSetResponse']: @pulumi.getter(name="partitionCount") def partition_count(self) -> Optional[float]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -130,7 +130,7 @@ def private_endpoint_connections(self) -> List['outputs.PrivateEndpointConnectio @pulumi.getter(name="provisioningState") def provisioning_state(self) -> str: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -146,7 +146,7 @@ def public_network_access(self) -> Optional[str]: @pulumi.getter(name="replicaCount") def replica_count(self) -> Optional[float]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -170,7 +170,7 @@ def sku(self) -> Optional['outputs.SkuResponse']: @pulumi.getter def status(self) -> str: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -178,7 +178,7 @@ def status(self) -> str: @pulumi.getter(name="statusDetails") def status_details(self) -> str: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/search/v20200801preview/list_admin_key.py b/sdk/python/pulumi_azurerm/search/v20200801preview/list_admin_key.py index 565836eb0fe2..9fb53981faaa 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801preview/list_admin_key.py +++ b/sdk/python/pulumi_azurerm/search/v20200801preview/list_admin_key.py @@ -31,7 +31,7 @@ def __init__(__self__, primary_key=None, secondary_key=None): @pulumi.getter(name="primaryKey") def primary_key(self) -> str: """ - The primary admin API key of the Search service. + The primary admin API key of the search service. """ return pulumi.get(self, "primary_key") @@ -39,7 +39,7 @@ def primary_key(self) -> str: @pulumi.getter(name="secondaryKey") def secondary_key(self) -> str: """ - The secondary admin API key of the Search service. + The secondary admin API key of the search service. """ return pulumi.get(self, "secondary_key") diff --git a/sdk/python/pulumi_azurerm/search/v20200801preview/outputs.py b/sdk/python/pulumi_azurerm/search/v20200801preview/outputs.py index 3476d70d4b4e..0cc23c47e52d 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801preview/outputs.py +++ b/sdk/python/pulumi_azurerm/search/v20200801preview/outputs.py @@ -482,7 +482,7 @@ def __init__(__self__, *, name: Optional[str] = None): """ Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. - :param str name: The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + :param str name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ if name is not None: pulumi.set(__self__, "name", name) @@ -491,7 +491,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[str]: """ - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azurerm/search/v20200801preview/service.py b/sdk/python/pulumi_azurerm/search/v20200801preview/service.py index 571f2f701f6f..53604139ab39 100644 --- a/sdk/python/pulumi_azurerm/search/v20200801preview/service.py +++ b/sdk/python/pulumi_azurerm/search/v20200801preview/service.py @@ -40,9 +40,9 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity of the resource. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']] network_rule_set: Network specific rules that determine how the Azure Cognitive Search service may be reached. - :param pulumi.Input[float] partition_count: The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + :param pulumi.Input[float] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. :param pulumi.Input[str] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. - :param pulumi.Input[float] replica_count: The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + :param pulumi.Input[float] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. :param pulumi.Input[str] search_service_name: The name of the Azure Cognitive Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. @@ -159,7 +159,7 @@ def network_rule_set(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResp @pulumi.getter(name="partitionCount") def partition_count(self) -> pulumi.Output[Optional[float]]: """ - The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. """ return pulumi.get(self, "partition_count") @@ -175,7 +175,7 @@ def private_endpoint_connections(self) -> pulumi.Output[List['outputs.PrivateEnd @pulumi.getter(name="provisioningState") def provisioning_state(self) -> pulumi.Output[str]: """ - The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. """ return pulumi.get(self, "provisioning_state") @@ -191,7 +191,7 @@ def public_network_access(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="replicaCount") def replica_count(self) -> pulumi.Output[Optional[float]]: """ - The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. """ return pulumi.get(self, "replica_count") @@ -215,7 +215,7 @@ def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. """ return pulumi.get(self, "status") @@ -223,7 +223,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter(name="statusDetails") def status_details(self) -> pulumi.Output[str]: """ - The details of the Search service status. + The details of the search service status. """ return pulumi.get(self, "status_details") diff --git a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/__init__.py b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/__init__.py index 9d266738cd80..223769e8cf7e 100644 --- a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/__init__.py +++ b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/__init__.py @@ -20,10 +20,12 @@ from .get_incident import * from .get_incident_relation_relation import * from .get_product_setting import * +from .get_threat_intelligence_indicator import * from .get_watchlist import * from .incident import * from .incident_relation_relation import * from .product_setting import * +from .threat_intelligence_indicator import * from .watchlist import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/_inputs.py b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/_inputs.py index 2aed0f8c03aa..00e3bc662e41 100644 --- a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/_inputs.py +++ b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/_inputs.py @@ -13,6 +13,8 @@ 'IncidentLabelArgs', 'IncidentOwnerInfoArgs', 'RelationNodeArgs', + 'ThreatIntelligenceGranularMarkingModelArgs', + 'ThreatIntelligenceKillChainPhaseArgs', 'UserInfoArgs', 'WatchlistItemArgs', ] @@ -236,6 +238,102 @@ def relation_node_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "relation_node_id", value) +@pulumi.input_type +class ThreatIntelligenceGranularMarkingModelArgs: + def __init__(__self__, *, + language: Optional[pulumi.Input[str]] = None, + marking_ref: Optional[pulumi.Input[float]] = None, + selectors: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None): + """ + Describes threat granular marking model entity + :param pulumi.Input[str] language: Language granular marking model + :param pulumi.Input[float] marking_ref: marking reference granular marking model + :param pulumi.Input[List[pulumi.Input[str]]] selectors: granular marking model selectors + """ + if language is not None: + pulumi.set(__self__, "language", language) + if marking_ref is not None: + pulumi.set(__self__, "marking_ref", marking_ref) + if selectors is not None: + pulumi.set(__self__, "selectors", selectors) + + @property + @pulumi.getter + def language(self) -> Optional[pulumi.Input[str]]: + """ + Language granular marking model + """ + return pulumi.get(self, "language") + + @language.setter + def language(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "language", value) + + @property + @pulumi.getter(name="markingRef") + def marking_ref(self) -> Optional[pulumi.Input[float]]: + """ + marking reference granular marking model + """ + return pulumi.get(self, "marking_ref") + + @marking_ref.setter + def marking_ref(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "marking_ref", value) + + @property + @pulumi.getter + def selectors(self) -> Optional[pulumi.Input[List[pulumi.Input[str]]]]: + """ + granular marking model selectors + """ + return pulumi.get(self, "selectors") + + @selectors.setter + def selectors(self, value: Optional[pulumi.Input[List[pulumi.Input[str]]]]): + pulumi.set(self, "selectors", value) + + +@pulumi.input_type +class ThreatIntelligenceKillChainPhaseArgs: + def __init__(__self__, *, + kill_chain_name: Optional[pulumi.Input[str]] = None, + phase_name: Optional[pulumi.Input[float]] = None): + """ + Describes threat kill chain phase entity + :param pulumi.Input[str] kill_chain_name: Kill chainName name + :param pulumi.Input[float] phase_name: Phase name + """ + if kill_chain_name is not None: + pulumi.set(__self__, "kill_chain_name", kill_chain_name) + if phase_name is not None: + pulumi.set(__self__, "phase_name", phase_name) + + @property + @pulumi.getter(name="killChainName") + def kill_chain_name(self) -> Optional[pulumi.Input[str]]: + """ + Kill chainName name + """ + return pulumi.get(self, "kill_chain_name") + + @kill_chain_name.setter + def kill_chain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kill_chain_name", value) + + @property + @pulumi.getter(name="phaseName") + def phase_name(self) -> Optional[pulumi.Input[float]]: + """ + Phase name + """ + return pulumi.get(self, "phase_name") + + @phase_name.setter + def phase_name(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "phase_name", value) + + @pulumi.input_type class UserInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/get_threat_intelligence_indicator.py b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/get_threat_intelligence_indicator.py new file mode 100644 index 000000000000..282020535676 --- /dev/null +++ b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/get_threat_intelligence_indicator.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables + +__all__ = [ + 'GetThreatIntelligenceIndicatorResult', + 'AwaitableGetThreatIntelligenceIndicatorResult', + 'get_threat_intelligence_indicator', +] + +@pulumi.output_type +class GetThreatIntelligenceIndicatorResult: + """ + Threat intelligence resource. + """ + def __init__(__self__, etag=None, kind=None, name=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the entity. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + Azure resource name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + Azure resource type + """ + return pulumi.get(self, "type") + + +class AwaitableGetThreatIntelligenceIndicatorResult(GetThreatIntelligenceIndicatorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetThreatIntelligenceIndicatorResult( + etag=self.etag, + kind=self.kind, + name=self.name, + type=self.type) + + +def get_threat_intelligence_indicator(name: Optional[str] = None, + operational_insights_resource_provider: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetThreatIntelligenceIndicatorResult: + """ + Use this data source to access information about an existing resource. + + :param str name: Threat Intelligence Identifier + :param str operational_insights_resource_provider: The namespace of workspaces resource provider- Microsoft.OperationalInsights. + :param str resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['name'] = name + __args__['operationalInsightsResourceProvider'] = operational_insights_resource_provider + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator', __args__, opts=opts, typ=GetThreatIntelligenceIndicatorResult).value + + return AwaitableGetThreatIntelligenceIndicatorResult( + etag=__ret__.etag, + kind=__ret__.kind, + name=__ret__.name, + type=__ret__.type) diff --git a/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/threat_intelligence_indicator.py new file mode 100644 index 000000000000..e2329d7e0ac5 --- /dev/null +++ b/sdk/python/pulumi_azurerm/securityinsights/v20190101preview/threat_intelligence_indicator.py @@ -0,0 +1,198 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Dict, List, Mapping, Optional, Tuple, Union +from ... import _utilities, _tables +from ._inputs import * + +__all__ = ['ThreatIntelligenceIndicator'] + + +class ThreatIntelligenceIndicator(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + confidence: Optional[pulumi.Input[float]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by_ref: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + etag: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_references: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, + granular_markings: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['ThreatIntelligenceGranularMarkingModelArgs']]]]] = None, + indicator_types: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, + kill_chain_phases: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['ThreatIntelligenceKillChainPhaseArgs']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, + last_updated_time_utc: Optional[pulumi.Input[str]] = None, + modified: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operational_insights_resource_provider: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[str]] = None, + pattern_type: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + revoked: Optional[pulumi.Input[bool]] = None, + source: Optional[pulumi.Input[str]] = None, + threat_intelligence_tags: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, + threat_types: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + Threat intelligence resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[float] confidence: Confidence of threat intelligence entity + :param pulumi.Input[str] created: Created by + :param pulumi.Input[str] created_by_ref: Created by reference of threat intelligence entity + :param pulumi.Input[str] description: Description of a threat intelligence entity + :param pulumi.Input[str] display_name: Display name of a threat intelligence entity + :param pulumi.Input[str] etag: Etag of the azure resource + :param pulumi.Input[str] external_id: External ID of threat intelligence entity + :param pulumi.Input[List[pulumi.Input[str]]] external_references: External References + :param pulumi.Input[List[pulumi.Input[pulumi.InputType['ThreatIntelligenceGranularMarkingModelArgs']]]] granular_markings: Granular Markings + :param pulumi.Input[List[pulumi.Input[str]]] indicator_types: Indicator types of threat intelligence entities + :param pulumi.Input[List[pulumi.Input[pulumi.InputType['ThreatIntelligenceKillChainPhaseArgs']]]] kill_chain_phases: Kill chain phases + :param pulumi.Input[str] kind: The kind of the entity. + :param pulumi.Input[List[pulumi.Input[str]]] labels: Labels of threat intelligence entity + :param pulumi.Input[str] last_updated_time_utc: Last updated time in UTC + :param pulumi.Input[str] modified: Modified by + :param pulumi.Input[str] name: Threat Intelligence Identifier + :param pulumi.Input[str] operational_insights_resource_provider: The namespace of workspaces resource provider- Microsoft.OperationalInsights. + :param pulumi.Input[str] pattern: Pattern of a threat intelligence entity + :param pulumi.Input[str] pattern_type: Pattern type of a threat intelligence entity + :param pulumi.Input[str] resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. + :param pulumi.Input[bool] revoked: Is threat intelligence entity revoked + :param pulumi.Input[str] source: Source of a threat intelligence entity + :param pulumi.Input[List[pulumi.Input[str]]] threat_intelligence_tags: List of tags + :param pulumi.Input[List[pulumi.Input[str]]] threat_types: Threat types + :param pulumi.Input[str] valid_from: Valid from + :param pulumi.Input[str] valid_until: Valid until + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = dict() + + __props__['confidence'] = confidence + __props__['created'] = created + __props__['created_by_ref'] = created_by_ref + __props__['description'] = description + __props__['display_name'] = display_name + __props__['etag'] = etag + __props__['external_id'] = external_id + __props__['external_references'] = external_references + __props__['granular_markings'] = granular_markings + __props__['indicator_types'] = indicator_types + __props__['kill_chain_phases'] = kill_chain_phases + if kind is None: + raise TypeError("Missing required property 'kind'") + __props__['kind'] = kind + __props__['labels'] = labels + __props__['last_updated_time_utc'] = last_updated_time_utc + __props__['modified'] = modified + if name is None: + raise TypeError("Missing required property 'name'") + __props__['name'] = name + if operational_insights_resource_provider is None: + raise TypeError("Missing required property 'operational_insights_resource_provider'") + __props__['operational_insights_resource_provider'] = operational_insights_resource_provider + __props__['pattern'] = pattern + __props__['pattern_type'] = pattern_type + if resource_group_name is None: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['revoked'] = revoked + __props__['source'] = source + __props__['threat_intelligence_tags'] = threat_intelligence_tags + __props__['threat_types'] = threat_types + __props__['valid_from'] = valid_from + __props__['valid_until'] = valid_until + if workspace_name is None: + raise TypeError("Missing required property 'workspace_name'") + __props__['workspace_name'] = workspace_name + __props__['type'] = None + super(ThreatIntelligenceIndicator, __self__).__init__( + 'azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ThreatIntelligenceIndicator': + """ + Get an existing ThreatIntelligenceIndicator resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = dict() + + return ThreatIntelligenceIndicator(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the entity. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Azure resource name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Azure resource type + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azurerm/synapse/v20190601preview/_inputs.py b/sdk/python/pulumi_azurerm/synapse/v20190601preview/_inputs.py index 5d145b5f91d6..2854b3796d01 100644 --- a/sdk/python/pulumi_azurerm/synapse/v20190601preview/_inputs.py +++ b/sdk/python/pulumi_azurerm/synapse/v20190601preview/_inputs.py @@ -328,18 +328,34 @@ def status(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class SkuArgs: def __init__(__self__, *, + capacity: Optional[pulumi.Input[float]] = None, name: Optional[pulumi.Input[str]] = None, tier: Optional[pulumi.Input[str]] = None): """ SQL pool SKU + :param pulumi.Input[float] 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. :param pulumi.Input[str] name: The SKU name :param pulumi.Input[str] tier: The service tier """ + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) if name is not None: pulumi.set(__self__, "name", name) if tier is not None: pulumi.set(__self__, "tier", tier) + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[float]]: + """ + 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. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "capacity", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_azurerm/synapse/v20190601preview/get_integration_runtime.py b/sdk/python/pulumi_azurerm/synapse/v20190601preview/get_integration_runtime.py index ce3195f9d9c6..0ac2b5c6b222 100644 --- a/sdk/python/pulumi_azurerm/synapse/v20190601preview/get_integration_runtime.py +++ b/sdk/python/pulumi_azurerm/synapse/v20190601preview/get_integration_runtime.py @@ -38,7 +38,7 @@ def __init__(__self__, etag=None, name=None, properties=None, type=None): @pulumi.getter def etag(self) -> str: """ - Etag identifies change in the resource. + Resource Etag. """ return pulumi.get(self, "etag") @@ -46,7 +46,7 @@ def etag(self) -> str: @pulumi.getter def name(self) -> str: """ - The resource name. + The name of the resource """ return pulumi.get(self, "name") @@ -62,7 +62,7 @@ def properties(self) -> 'outputs.IntegrationRuntimeResponse': @pulumi.getter def type(self) -> str: """ - The resource type. + The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azurerm/synapse/v20190601preview/integration_runtime.py b/sdk/python/pulumi_azurerm/synapse/v20190601preview/integration_runtime.py index daf4741a6022..602fcade0014 100644 --- a/sdk/python/pulumi_azurerm/synapse/v20190601preview/integration_runtime.py +++ b/sdk/python/pulumi_azurerm/synapse/v20190601preview/integration_runtime.py @@ -94,7 +94,7 @@ def get(resource_name: str, @pulumi.getter def etag(self) -> pulumi.Output[str]: """ - Etag identifies change in the resource. + Resource Etag. """ return pulumi.get(self, "etag") @@ -102,7 +102,7 @@ def etag(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The resource name. + The name of the resource """ return pulumi.get(self, "name") @@ -118,7 +118,7 @@ def properties(self) -> pulumi.Output['outputs.IntegrationRuntimeResponse']: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The resource type. + The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azurerm/synapse/v20190601preview/outputs.py b/sdk/python/pulumi_azurerm/synapse/v20190601preview/outputs.py index c95021aaf8fd..77e98e782878 100644 --- a/sdk/python/pulumi_azurerm/synapse/v20190601preview/outputs.py +++ b/sdk/python/pulumi_azurerm/synapse/v20190601preview/outputs.py @@ -446,18 +446,30 @@ class SkuResponse(dict): SQL pool SKU """ def __init__(__self__, *, + capacity: Optional[float] = None, name: Optional[str] = None, tier: Optional[str] = None): """ SQL pool SKU + :param float 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. :param str name: The SKU name :param str tier: The service tier """ + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) if name is not None: pulumi.set(__self__, "name", name) if tier is not None: pulumi.set(__self__, "tier", tier) + @property + @pulumi.getter + def capacity(self) -> Optional[float]: + """ + 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. + """ + return pulumi.get(self, "capacity") + @property @pulumi.getter def name(self) -> Optional[str]: diff --git a/sdk/schema/metadata.json b/sdk/schema/metadata.json index 1e444f31dc82..ba0d6dbc273c 100644 --- a/sdk/schema/metadata.json +++ b/sdk/schema/metadata.json @@ -111160,6 +111160,877 @@ "containerName" ] }, + "azurerm:devices/v20200801:CertificateProperties": { + "properties": { + "certificate": { + "type": "string" + } + } + }, + "azurerm:devices/v20200801:CertificatePropertiesResponse": { + "properties": { + "certificate": {}, + "created": {}, + "expiry": {}, + "isVerified": {}, + "subject": {}, + "thumbprint": {}, + "updated": {} + } + }, + "azurerm:devices/v20200801:CloudToDeviceProperties": { + "properties": { + "defaultTtlAsIso8601": { + "type": "string" + }, + "feedback": { + "$ref": "#/types/azurerm:devices/v20200801:FeedbackProperties" + }, + "maxDeliveryCount": { + "type": "integer", + "minimum": 1, + "maximum": 100 + } + } + }, + "azurerm:devices/v20200801:CloudToDevicePropertiesResponse": { + "properties": { + "defaultTtlAsIso8601": {}, + "feedback": { + "$ref": "#/types/azurerm:devices/v20200801:FeedbackPropertiesResponse" + }, + "maxDeliveryCount": {} + } + }, + "azurerm:devices/v20200801:EnrichmentProperties": { + "properties": { + "endpointNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "endpointNames", + "key", + "value" + ] + }, + "azurerm:devices/v20200801:EnrichmentPropertiesResponse": { + "properties": { + "endpointNames": { + "items": { + "type": "string" + } + }, + "key": {}, + "value": {} + }, + "required": [ + "endpointNames", + "key", + "value" + ] + }, + "azurerm:devices/v20200801:EventHubConsumerGroupName": { + "properties": { + "name": { + "type": "string" + } + } + }, + "azurerm:devices/v20200801:EventHubProperties": { + "properties": { + "partitionCount": { + "type": "integer" + }, + "retentionTimeInDays": { + "type": "integer" + } + } + }, + "azurerm:devices/v20200801:EventHubPropertiesResponse": { + "properties": { + "endpoint": {}, + "partitionCount": {}, + "partitionIds": { + "items": { + "type": "string" + } + }, + "path": {}, + "retentionTimeInDays": {} + } + }, + "azurerm:devices/v20200801:FallbackRouteProperties": { + "properties": { + "condition": { + "type": "string" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "isEnabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "required": [ + "endpointNames", + "isEnabled", + "source" + ] + }, + "azurerm:devices/v20200801:FallbackRoutePropertiesResponse": { + "properties": { + "condition": {}, + "endpointNames": { + "items": { + "type": "string" + } + }, + "isEnabled": {}, + "name": {}, + "source": {} + }, + "required": [ + "endpointNames", + "isEnabled", + "source" + ] + }, + "azurerm:devices/v20200801:FeedbackProperties": { + "properties": { + "lockDurationAsIso8601": { + "type": "string" + }, + "maxDeliveryCount": { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + "ttlAsIso8601": { + "type": "string" + } + } + }, + "azurerm:devices/v20200801:FeedbackPropertiesResponse": { + "properties": { + "lockDurationAsIso8601": {}, + "maxDeliveryCount": {}, + "ttlAsIso8601": {} + } + }, + "azurerm:devices/v20200801:IotHubLocationDescriptionResponse": { + "properties": { + "location": {}, + "role": {} + } + }, + "azurerm:devices/v20200801:IotHubProperties": { + "properties": { + "authorizationPolicies": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRule" + } + }, + "cloudToDevice": { + "$ref": "#/types/azurerm:devices/v20200801:CloudToDeviceProperties" + }, + "comments": { + "type": "string" + }, + "enableFileUploadNotifications": { + "type": "boolean" + }, + "eventHubEndpoints": { + "type": "object" + }, + "features": { + "type": "string" + }, + "ipFilterRules": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IpFilterRule" + } + }, + "messagingEndpoints": { + "type": "object" + }, + "minTlsVersion": { + "type": "string" + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnection" + } + }, + "publicNetworkAccess": { + "type": "string" + }, + "routing": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingProperties" + }, + "storageEndpoints": { + "type": "object" + } + } + }, + "azurerm:devices/v20200801:IotHubPropertiesResponse": { + "properties": { + "authorizationPolicies": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse" + } + }, + "cloudToDevice": { + "$ref": "#/types/azurerm:devices/v20200801:CloudToDevicePropertiesResponse" + }, + "comments": {}, + "enableFileUploadNotifications": {}, + "eventHubEndpoints": {}, + "features": {}, + "hostName": {}, + "ipFilterRules": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IpFilterRuleResponse" + } + }, + "locations": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IotHubLocationDescriptionResponse" + } + }, + "messagingEndpoints": {}, + "minTlsVersion": {}, + "privateEndpointConnections": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionResponse" + } + }, + "provisioningState": {}, + "publicNetworkAccess": {}, + "routing": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingPropertiesResponse" + }, + "state": {}, + "storageEndpoints": {} + } + }, + "azurerm:devices/v20200801:IotHubSkuInfo": { + "properties": { + "capacity": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:IotHubSkuInfoResponse": { + "properties": { + "capacity": {}, + "name": {}, + "tier": {} + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:IpFilterRule": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Accept", + "Reject" + ] + }, + "filterName": { + "type": "string" + }, + "ipMask": { + "type": "string" + } + }, + "required": [ + "action", + "filterName", + "ipMask" + ] + }, + "azurerm:devices/v20200801:IpFilterRuleResponse": { + "properties": { + "action": {}, + "filterName": {}, + "ipMask": {} + }, + "required": [ + "action", + "filterName", + "ipMask" + ] + }, + "azurerm:devices/v20200801:MessagingEndpointProperties": { + "properties": { + "lockDurationAsIso8601": { + "type": "string" + }, + "maxDeliveryCount": { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + "ttlAsIso8601": { + "type": "string" + } + } + }, + "azurerm:devices/v20200801:MessagingEndpointPropertiesResponse": { + "properties": { + "lockDurationAsIso8601": {}, + "maxDeliveryCount": {}, + "ttlAsIso8601": {} + } + }, + "azurerm:devices/v20200801:PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionProperties" + } + }, + "required": [ + "properties" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionProperties": { + "properties": { + "privateLinkServiceConnectionState": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateLinkServiceConnectionState" + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse": { + "properties": { + "privateEndpoint": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointResponse" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateLinkServiceConnectionStateResponse" + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionResponse": { + "properties": { + "id": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse" + }, + "type": {} + }, + "required": [ + "properties" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointResponse": { + "properties": { + "id": {} + } + }, + "azurerm:devices/v20200801:PrivateLinkServiceConnectionState": { + "properties": { + "actionsRequired": { + "type": "string" + }, + "description": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "description", + "status" + ] + }, + "azurerm:devices/v20200801:PrivateLinkServiceConnectionStateResponse": { + "properties": { + "actionsRequired": {}, + "description": {}, + "status": {} + }, + "required": [ + "description", + "status" + ] + }, + "azurerm:devices/v20200801:RouteProperties": { + "properties": { + "condition": { + "type": "string" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "isEnabled": { + "type": "boolean" + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + "source": { + "type": "string" + } + }, + "required": [ + "endpointNames", + "isEnabled", + "name", + "source" + ] + }, + "azurerm:devices/v20200801:RoutePropertiesResponse": { + "properties": { + "condition": {}, + "endpointNames": { + "items": { + "type": "string" + } + }, + "isEnabled": {}, + "name": {}, + "source": {} + }, + "required": [ + "endpointNames", + "isEnabled", + "name", + "source" + ] + }, + "azurerm:devices/v20200801:RoutingEndpoints": { + "properties": { + "eventHubs": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEventHubProperties" + } + }, + "serviceBusQueues": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusQueueEndpointProperties" + } + }, + "serviceBusTopics": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusTopicEndpointProperties" + } + }, + "storageContainers": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingStorageContainerProperties" + } + } + } + }, + "azurerm:devices/v20200801:RoutingEndpointsResponse": { + "properties": { + "eventHubs": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEventHubPropertiesResponse" + } + }, + "serviceBusQueues": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusQueueEndpointPropertiesResponse" + } + }, + "serviceBusTopics": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusTopicEndpointPropertiesResponse" + } + }, + "storageContainers": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingStorageContainerPropertiesResponse" + } + } + } + }, + "azurerm:devices/v20200801:RoutingEventHubProperties": { + "properties": { + "authenticationType": { + "type": "string" + }, + "connectionString": { + "type": "string" + }, + "endpointUri": { + "type": "string" + }, + "entityPath": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + "resourceGroup": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingEventHubPropertiesResponse": { + "properties": { + "authenticationType": {}, + "connectionString": {}, + "endpointUri": {}, + "entityPath": {}, + "id": {}, + "name": {}, + "resourceGroup": {}, + "subscriptionId": {} + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingProperties": { + "properties": { + "endpoints": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEndpoints" + }, + "enrichments": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:EnrichmentProperties" + } + }, + "fallbackRoute": { + "$ref": "#/types/azurerm:devices/v20200801:FallbackRouteProperties" + }, + "routes": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RouteProperties" + } + } + } + }, + "azurerm:devices/v20200801:RoutingPropertiesResponse": { + "properties": { + "endpoints": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEndpointsResponse" + }, + "enrichments": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:EnrichmentPropertiesResponse" + } + }, + "fallbackRoute": { + "$ref": "#/types/azurerm:devices/v20200801:FallbackRoutePropertiesResponse" + }, + "routes": { + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutePropertiesResponse" + } + } + } + }, + "azurerm:devices/v20200801:RoutingServiceBusQueueEndpointProperties": { + "properties": { + "authenticationType": { + "type": "string" + }, + "connectionString": { + "type": "string" + }, + "endpointUri": { + "type": "string" + }, + "entityPath": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + "resourceGroup": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusQueueEndpointPropertiesResponse": { + "properties": { + "authenticationType": {}, + "connectionString": {}, + "endpointUri": {}, + "entityPath": {}, + "id": {}, + "name": {}, + "resourceGroup": {}, + "subscriptionId": {} + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusTopicEndpointProperties": { + "properties": { + "authenticationType": { + "type": "string" + }, + "connectionString": { + "type": "string" + }, + "endpointUri": { + "type": "string" + }, + "entityPath": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + "resourceGroup": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusTopicEndpointPropertiesResponse": { + "properties": { + "authenticationType": {}, + "connectionString": {}, + "endpointUri": {}, + "entityPath": {}, + "id": {}, + "name": {}, + "resourceGroup": {}, + "subscriptionId": {} + }, + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingStorageContainerProperties": { + "properties": { + "authenticationType": { + "type": "string" + }, + "batchFrequencyInSeconds": { + "type": "integer", + "minimum": 60, + "maximum": 720 + }, + "connectionString": { + "type": "string" + }, + "containerName": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "Avro", + "AvroDeflate", + "JSON" + ] + }, + "endpointUri": { + "type": "string" + }, + "fileNameFormat": { + "type": "string" + }, + "id": { + "type": "string" + }, + "maxChunkSizeInBytes": { + "type": "integer", + "minimum": 10485760, + "maximum": 524288000 + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + "resourceGroup": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "containerName", + "name" + ] + }, + "azurerm:devices/v20200801:RoutingStorageContainerPropertiesResponse": { + "properties": { + "authenticationType": {}, + "batchFrequencyInSeconds": {}, + "connectionString": {}, + "containerName": {}, + "encoding": {}, + "endpointUri": {}, + "fileNameFormat": {}, + "id": {}, + "maxChunkSizeInBytes": {}, + "name": {}, + "resourceGroup": {}, + "subscriptionId": {} + }, + "required": [ + "containerName", + "name" + ] + }, + "azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRule": { + "properties": { + "keyName": { + "type": "string" + }, + "primaryKey": { + "type": "string" + }, + "rights": { + "type": "string", + "enum": [ + "RegistryRead", + "RegistryWrite", + "ServiceConnect", + "DeviceConnect", + "RegistryRead, RegistryWrite", + "RegistryRead, ServiceConnect", + "RegistryRead, DeviceConnect", + "RegistryWrite, ServiceConnect", + "RegistryWrite, DeviceConnect", + "ServiceConnect, DeviceConnect", + "RegistryRead, RegistryWrite, ServiceConnect", + "RegistryRead, RegistryWrite, DeviceConnect", + "RegistryRead, ServiceConnect, DeviceConnect", + "RegistryWrite, ServiceConnect, DeviceConnect", + "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect" + ] + }, + "secondaryKey": { + "type": "string" + } + }, + "required": [ + "keyName", + "rights" + ] + }, + "azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse": { + "properties": { + "keyName": {}, + "primaryKey": {}, + "rights": {}, + "secondaryKey": {} + }, + "required": [ + "keyName", + "rights" + ] + }, + "azurerm:devices/v20200801:StorageEndpointProperties": { + "properties": { + "authenticationType": { + "type": "string" + }, + "connectionString": { + "type": "string" + }, + "containerName": { + "type": "string" + }, + "sasTtlAsIso8601": { + "type": "string" + } + }, + "required": [ + "connectionString", + "containerName" + ] + }, + "azurerm:devices/v20200801:StorageEndpointPropertiesResponse": { + "properties": { + "authenticationType": {}, + "connectionString": {}, + "containerName": {}, + "sasTtlAsIso8601": {} + }, + "required": [ + "connectionString", + "containerName" + ] + }, "azurerm:devops/v20190701preview:Authorization": { "properties": { "authorizationType": { @@ -130079,22 +130950,6 @@ "version": {} } }, - "azurerm:hybridcompute/latest:MachineExtensionInstanceView": { - "properties": { - "name": { - "type": "string" - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus" - }, - "type": { - "type": "string" - }, - "typeHandlerVersion": { - "type": "string" - } - } - }, "azurerm:hybridcompute/latest:MachineExtensionInstanceViewResponse": { "properties": { "name": {}, @@ -130114,41 +130969,6 @@ "time": {} } }, - "azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus": { - "properties": { - "code": { - "type": "string" - }, - "displayStatus": { - "type": "string" - }, - "level": { - "type": "string" - }, - "message": { - "type": "string" - }, - "time": { - "type": "string" - } - } - }, - "azurerm:hybridcompute/latest:MachineExtensionPropertiesInstanceView": { - "properties": { - "name": { - "type": "string" - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus" - }, - "type": { - "type": "string" - }, - "typeHandlerVersion": { - "type": "string" - } - } - }, "azurerm:hybridcompute/latest:MachineExtensionPropertiesResponseInstanceView": { "properties": { "name": {}, @@ -130910,22 +131730,6 @@ "message" ] }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceView": { - "properties": { - "name": { - "type": "string" - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus" - }, - "type": { - "type": "string" - }, - "typeHandlerVersion": { - "type": "string" - } - } - }, "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponse": { "properties": { "name": {}, @@ -130945,41 +131749,6 @@ "time": {} } }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus": { - "properties": { - "code": { - "type": "string" - }, - "displayStatus": { - "type": "string" - }, - "level": { - "type": "string" - }, - "message": { - "type": "string" - }, - "time": { - "type": "string" - } - } - }, - "azurerm:hybridcompute/v20200802:MachineExtensionPropertiesInstanceView": { - "properties": { - "name": { - "type": "string" - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus" - }, - "type": { - "type": "string" - }, - "typeHandlerVersion": { - "type": "string" - } - } - }, "azurerm:hybridcompute/v20200802:MachineExtensionPropertiesResponseInstanceView": { "properties": { "name": {}, @@ -162027,15 +162796,36 @@ }, "azurerm:machinelearningservices/v20200901preview:LinkedServiceProps": { "properties": { + "createdTime": { + "type": "string" + }, + "linkType": { + "type": "string", + "enum": [ + "Synapse" + ] + }, "linkedServiceResourceId": { "type": "string" + }, + "modifiedTime": { + "type": "string" } - } + }, + "required": [ + "linkedServiceResourceId" + ] }, "azurerm:machinelearningservices/v20200901preview:LinkedServicePropsResponse": { "properties": { - "linkedServiceResourceId": {} - } + "createdTime": {}, + "linkType": {}, + "linkedServiceResourceId": {}, + "modifiedTime": {} + }, + "required": [ + "linkedServiceResourceId" + ] }, "azurerm:machinelearningservices/v20200901preview:MachineLearningServiceErrorResponse": { "properties": { @@ -375431,6 +376221,32 @@ } } }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceGranularMarkingModel": { + "properties": { + "language": { + "type": "string" + }, + "markingRef": { + "type": "integer" + }, + "selectors": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceKillChainPhase": { + "properties": { + "killChainName": { + "type": "string" + }, + "phaseName": { + "type": "integer" + } + } + }, "azurerm:securityinsights/v20190101preview:UserInfo": { "properties": { "objectId": { @@ -397177,6 +397993,9 @@ }, "azurerm:synapse/v20190601preview:Sku": { "properties": { + "capacity": { + "type": "integer" + }, "name": { "type": "string" }, @@ -397187,6 +398006,7 @@ }, "azurerm:synapse/v20190601preview:SkuResponse": { "properties": { + "capacity": {}, "name": {}, "tier": {} } @@ -577018,7 +577838,7 @@ } }, "azurerm:devices/latest:Certificate": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -577261,7 +578081,424 @@ } }, { - "name": "provisioningServiceName", + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "iotDpsDescription", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "etag": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/types/azurerm:devices/latest:IotDpsPropertiesDescription" + }, + "sku": { + "$ref": "#/types/azurerm:devices/latest:IotDpsSkuInfo" + }, + "tags": { + "type": "object" + } + }, + "required": [ + "location", + "properties", + "sku" + ] + } + } + ], + "response": { + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/latest:IotDpsPropertiesDescriptionResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/latest:IotDpsSkuInfoResponse" + }, + "tags": {}, + "type": {} + } + }, + "azurerm:devices/latest:IotHubResource": { + "apiVersion": "2020-08-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "iotHubDescription", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "etag": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/types/azurerm:devices/latest:IotHubProperties" + }, + "sku": { + "$ref": "#/types/azurerm:devices/latest:IotHubSkuInfo" + }, + "tags": { + "type": "object" + } + }, + "required": [ + "location", + "sku" + ] + } + } + ], + "response": { + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/latest:IotHubPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/latest:IotHubSkuInfoResponse" + }, + "tags": {}, + "type": {} + } + }, + "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-08-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "consumerGroupBody", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "properties": { + "$ref": "#/types/azurerm:devices/latest:EventHubConsumerGroupName" + } + } + } + } + ], + "response": { + "etag": {}, + "id": {}, + "name": {}, + "properties": {}, + "type": {} + } + }, + "azurerm:devices/latest:PrivateEndpointConnection": { + "apiVersion": "2020-08-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "privateEndpointConnectionName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "privateEndpointConnectionName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "privateEndpointConnection", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "properties": { + "$ref": "#/types/azurerm:devices/latest:PrivateEndpointConnectionProperties" + } + }, + "required": [ + "properties" + ] + } + } + ], + "response": { + "id": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/latest:PrivateEndpointConnectionPropertiesResponse" + }, + "type": {} + } + }, + "azurerm:devices/v20160203:IotHubResource": { + "apiVersion": "2016-02-03", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", "location": "path", "required": true, "value": { @@ -577269,7 +578506,7 @@ } }, { - "name": "iotDpsDescription", + "name": "iotHubDescription", "location": "body", "required": true, "value": {}, @@ -577282,10 +578519,16 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/latest:IotDpsPropertiesDescription" + "$ref": "#/types/azurerm:devices/v20160203:IotHubProperties" + }, + "resourcegroup": { + "type": "string" }, "sku": { - "$ref": "#/types/azurerm:devices/latest:IotDpsSkuInfo" + "$ref": "#/types/azurerm:devices/v20160203:IotHubSkuInfo" + }, + "subscriptionid": { + "type": "string" }, "tags": { "type": "object" @@ -577293,8 +578536,9 @@ }, "required": [ "location", - "properties", - "sku" + "resourcegroup", + "sku", + "subscriptionid" ] } } @@ -577305,17 +578549,112 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/latest:IotDpsPropertiesDescriptionResponse" + "$ref": "#/types/azurerm:devices/v20160203:IotHubPropertiesResponse" }, + "resourcegroup": {}, "sku": { - "$ref": "#/types/azurerm:devices/latest:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20160203:IotHubSkuInfoResponse" }, + "subscriptionid": {}, "tags": {}, "type": {} } }, - "azurerm:devices/latest:IotHubResource": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2016-02-03", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "response": { + "id": {}, + "name": {}, + "tags": {} + } + }, + "azurerm:devices/v20170119:IotHubResource": { + "apiVersion": "2017-01-19", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -577329,7 +578668,6 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577338,7 +578676,6 @@ { "name": "resourceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577357,7 +578694,6 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577366,7 +578702,6 @@ { "name": "resourceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577386,10 +578721,16 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/latest:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20170119:IotHubProperties" + }, + "resourcegroup": { + "type": "string" }, "sku": { - "$ref": "#/types/azurerm:devices/latest:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20170119:IotHubSkuInfo" + }, + "subscriptionid": { + "type": "string" }, "tags": { "type": "object" @@ -577397,7 +578738,9 @@ }, "required": [ "location", - "sku" + "resourcegroup", + "sku", + "subscriptionid" ] } } @@ -577408,17 +578751,19 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/latest:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20170119:IotHubPropertiesResponse" }, + "resourcegroup": {}, "sku": { - "$ref": "#/types/azurerm:devices/latest:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20170119:IotHubSkuInfoResponse" }, + "subscriptionid": {}, "tags": {}, "type": {} } }, - "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2017-01-19", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -577432,7 +578777,6 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577441,7 +578785,6 @@ { "name": "resourceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577476,7 +578819,6 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577485,7 +578827,6 @@ { "name": "resourceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -577506,32 +578847,17 @@ "value": { "type": "string" } - }, - { - "name": "consumerGroupBody", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "properties": { - "$ref": "#/types/azurerm:devices/latest:EventHubConsumerGroupName" - } - } - } } ], "response": { - "etag": {}, "id": {}, "name": {}, - "properties": {}, - "type": {} + "tags": {} } }, - "azurerm:devices/latest:PrivateEndpointConnection": { - "apiVersion": "2020-06-15", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "azurerm:devices/v20170701:Certificate": { + "apiVersion": "2017-07-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { "name": "subscriptionId", @@ -577560,12 +578886,13 @@ } }, { - "name": "privateEndpointConnectionName", + "name": "certificateName", "location": "path", "source": "method", "required": true, "value": { - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" } } ], @@ -577597,42 +578924,41 @@ } }, { - "name": "privateEndpointConnectionName", + "name": "certificateName", "location": "path", "source": "method", "required": true, "value": { - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" } }, { - "name": "privateEndpointConnection", + "name": "certificateDescription", "location": "body", "required": true, "value": {}, "body": { "properties": { - "properties": { - "$ref": "#/types/azurerm:devices/latest:PrivateEndpointConnectionProperties" + "certificate": { + "type": "string" } - }, - "required": [ - "properties" - ] + } } } ], "response": { + "etag": {}, "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/latest:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20170701:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20160203:IotHubResource": { - "apiVersion": "2016-02-03", + "azurerm:devices/v20170701:IotHubResource": { + "apiVersion": "2017-07-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -577646,6 +578972,7 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577654,6 +578981,7 @@ { "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577672,6 +579000,7 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577680,6 +579009,7 @@ { "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577699,13 +579029,13 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20160203:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20170701:IotHubProperties" }, "resourcegroup": { "type": "string" }, "sku": { - "$ref": "#/types/azurerm:devices/v20160203:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20170701:IotHubSkuInfo" }, "subscriptionid": { "type": "string" @@ -577729,19 +579059,19 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20160203:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20170701:IotHubPropertiesResponse" }, "resourcegroup": {}, "sku": { - "$ref": "#/types/azurerm:devices/v20160203:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20170701:IotHubSkuInfoResponse" }, "subscriptionid": {}, "tags": {}, "type": {} } }, - "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2016-02-03", + "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2017-07-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -577755,6 +579085,7 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577763,6 +579094,7 @@ { "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577797,6 +579129,7 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577805,6 +579138,7 @@ { "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -577833,10 +579167,18 @@ "tags": {} } }, - "azurerm:devices/v20170119:IotHubResource": { - "apiVersion": "2017-01-19", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "azurerm:devices/v20170821preview:DpsCertificate": { + "apiVersion": "2017-08-21-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", "GET": [ + { + "name": "certificateName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, { "name": "subscriptionId", "location": "path", @@ -577854,7 +579196,7 @@ } }, { - "name": "resourceName", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -577880,7 +579222,7 @@ } }, { - "name": "resourceName", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -577888,82 +579230,44 @@ } }, { - "name": "iotHubDescription", + "name": "certificateName", + "location": "path", + "required": true, + "value": { + "type": "string", + "maxLength": 256 + } + }, + { + "name": "certificateDescription", "location": "body", "required": true, "value": {}, "body": { "properties": { - "etag": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/types/azurerm:devices/v20170119:IotHubProperties" - }, - "resourcegroup": { - "type": "string" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20170119:IotHubSkuInfo" - }, - "subscriptionid": { + "certificate": { "type": "string" - }, - "tags": { - "type": "object" } - }, - "required": [ - "location", - "resourcegroup", - "sku", - "subscriptionid" - ] + } } } ], "response": { "etag": {}, "id": {}, - "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20170119:IotHubPropertiesResponse" - }, - "resourcegroup": {}, - "sku": { - "$ref": "#/types/azurerm:devices/v20170119:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20170821preview:CertificatePropertiesResponse" }, - "subscriptionid": {}, - "tags": {}, "type": {} } }, - "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2017-01-19", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "azurerm:devices/v20170821preview:IotDpsResource": { + "apiVersion": "2017-08-21-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", "GET": [ { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceName", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -577971,7 +579275,7 @@ } }, { - "name": "eventHubEndpointName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -577979,7 +579283,7 @@ } }, { - "name": "name", + "name": "resourceGroupName", "location": "path", "required": true, "value": { @@ -578005,15 +579309,7 @@ } }, { - "name": "resourceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "eventHubEndpointName", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -578021,26 +579317,57 @@ } }, { - "name": "name", - "location": "path", + "name": "iotDpsDescription", + "location": "body", "required": true, - "value": { - "type": "string" + "value": {}, + "body": { + "properties": { + "etag": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsPropertiesDescription" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsSkuInfo" + }, + "tags": { + "type": "object" + } + }, + "required": [ + "location", + "properties", + "sku" + ] } } ], "response": { + "etag": {}, "id": {}, + "location": {}, "name": {}, - "tags": {} + "properties": { + "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsPropertiesDescriptionResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsSkuInfoResponse" + }, + "tags": {}, + "type": {} } }, - "azurerm:devices/v20170701:Certificate": { - "apiVersion": "2017-07-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", + "azurerm:devices/v20171115:DpsCertificate": { + "apiVersion": "2017-11-15", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", "GET": [ { - "name": "subscriptionId", + "name": "certificateName", "location": "path", "required": true, "value": { @@ -578048,31 +579375,27 @@ } }, { - "name": "resourceGroupName", + "name": "subscriptionId", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "certificateName", + "name": "provisioningServiceName", "location": "path", - "source": "method", "required": true, "value": { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" + "type": "string" } } ], @@ -578088,16 +579411,14 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "provisioningServiceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -578106,11 +579427,10 @@ { "name": "certificateName", "location": "path", - "source": "method", "required": true, "value": { "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" + "maxLength": 256 } }, { @@ -578132,17 +579452,17 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20170701:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20171115:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20170701:IotHubResource": { - "apiVersion": "2017-07-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "azurerm:devices/v20171115:IotDpsResource": { + "apiVersion": "2017-11-15", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", "GET": [ { - "name": "subscriptionId", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -578150,18 +579470,16 @@ } }, { - "name": "resourceGroupName", + "name": "subscriptionId", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -578180,23 +579498,21 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "provisioningServiceName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "iotHubDescription", + "name": "iotDpsDescription", "location": "body", "required": true, "value": {}, @@ -578209,16 +579525,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20170701:IotHubProperties" - }, - "resourcegroup": { - "type": "string" + "$ref": "#/types/azurerm:devices/v20171115:IotDpsPropertiesDescription" }, "sku": { - "$ref": "#/types/azurerm:devices/v20170701:IotHubSkuInfo" - }, - "subscriptionid": { - "type": "string" + "$ref": "#/types/azurerm:devices/v20171115:IotDpsSkuInfo" }, "tags": { "type": "object" @@ -578226,9 +579536,8 @@ }, "required": [ "location", - "resourcegroup", - "sku", - "subscriptionid" + "properties", + "sku" ] } } @@ -578239,20 +579548,18 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20170701:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20171115:IotDpsPropertiesDescriptionResponse" }, - "resourcegroup": {}, "sku": { - "$ref": "#/types/azurerm:devices/v20170701:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20171115:IotDpsSkuInfoResponse" }, - "subscriptionid": {}, "tags": {}, "type": {} } }, - "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2017-07-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "azurerm:devices/v20180122:Certificate": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { "name": "subscriptionId", @@ -578281,19 +579588,13 @@ } }, { - "name": "eventHubEndpointName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "name", + "name": "certificateName", "location": "path", + "source": "method", "required": true, "value": { - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" } } ], @@ -578325,30 +579626,41 @@ } }, { - "name": "eventHubEndpointName", + "name": "certificateName", "location": "path", + "source": "method", "required": true, "value": { - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" } }, { - "name": "name", - "location": "path", + "name": "certificateDescription", + "location": "body", "required": true, - "value": { - "type": "string" + "value": {}, + "body": { + "properties": { + "certificate": { + "type": "string" + } + } } } ], "response": { + "etag": {}, "id": {}, "name": {}, - "tags": {} + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" + }, + "type": {} } }, - "azurerm:devices/v20170821preview:DpsCertificate": { - "apiVersion": "2017-08-21-preview", + "azurerm:devices/v20180122:DpsCertificate": { + "apiVersion": "2018-01-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", "GET": [ { @@ -578437,13 +579749,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20170821preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20170821preview:IotDpsResource": { - "apiVersion": "2017-08-21-preview", + "azurerm:devices/v20180122:IotDpsResource": { + "apiVersion": "2018-01-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", "GET": [ { @@ -578510,10 +579822,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsPropertiesDescription" + "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescription" }, "sku": { - "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsSkuInfo" + "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfo" }, "tags": { "type": "object" @@ -578533,27 +579845,19 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsPropertiesDescriptionResponse" + "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescriptionResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20170821preview:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20171115:DpsCertificate": { - "apiVersion": "2017-11-15", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", + "azurerm:devices/v20180122:IotHubResource": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, { "name": "subscriptionId", "location": "path", @@ -578565,14 +579869,16 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -578591,58 +579897,72 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string", - "maxLength": 256 - } - }, - { - "name": "certificateDescription", + "name": "iotHubDescription", "location": "body", "required": true, "value": {}, "body": { "properties": { - "certificate": { + "etag": { + "type": "string" + }, + "location": { "type": "string" + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubProperties" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfo" + }, + "tags": { + "type": "object" } - } + }, + "required": [ + "location", + "sku" + ] } } ], "response": { "etag": {}, "id": {}, + "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20171115:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse" }, + "tags": {}, "type": {} } }, - "azurerm:devices/v20171115:IotDpsResource": { - "apiVersion": "2017-11-15", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", + "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { - "name": "provisioningServiceName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -578650,15 +579970,33 @@ } }, { - "name": "subscriptionId", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", "location": "path", "required": true, "value": { @@ -578678,67 +580016,48 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "iotDpsDescription", - "location": "body", + "name": "eventHubEndpointName", + "location": "path", "required": true, - "value": {}, - "body": { - "properties": { - "etag": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/types/azurerm:devices/v20171115:IotDpsPropertiesDescription" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20171115:IotDpsSkuInfo" - }, - "tags": { - "type": "object" - } - }, - "required": [ - "location", - "properties", - "sku" - ] + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" } } ], "response": { "etag": {}, "id": {}, - "location": {}, "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20171115:IotDpsPropertiesDescriptionResponse" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20171115:IotDpsSkuInfoResponse" - }, - "tags": {}, + "properties": {}, "type": {} } }, - "azurerm:devices/v20180122:Certificate": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:Certificate": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -578834,208 +580153,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" - }, - "type": {} - } - }, - "azurerm:devices/v20180122:DpsCertificate": { - "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", - "GET": [ - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string", - "maxLength": 256 - } - }, - { - "name": "certificateDescription", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "certificate": { - "type": "string" - } - } - } - } - ], - "response": { - "etag": {}, - "id": {}, - "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" - }, - "type": {} - } - }, - "azurerm:devices/v20180122:IotDpsResource": { - "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", - "GET": [ - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "iotDpsDescription", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "etag": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescription" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfo" - }, - "tags": { - "type": "object" - } - }, - "required": [ - "location", - "properties", - "sku" - ] - } - } - ], - "response": { - "etag": {}, - "id": {}, - "location": {}, - "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescriptionResponse" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse" }, - "tags": {}, "type": {} } }, - "azurerm:devices/v20180122:IotHubResource": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:IotHubResource": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -579106,10 +580230,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20180401:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfo" }, "tags": { "type": "object" @@ -579128,17 +580252,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -579236,8 +580360,8 @@ "type": {} } }, - "azurerm:devices/v20180401:Certificate": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:Certificate": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -579333,13 +580457,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20180401:IotHubResource": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:IotHubResource": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -579410,10 +580534,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfo" }, "tags": { "type": "object" @@ -579432,17 +580556,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -579540,8 +580664,8 @@ "type": {} } }, - "azurerm:devices/v20181201preview:Certificate": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:Certificate": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -579637,13 +580761,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20181201preview:IotHubResource": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:IotHubResource": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -579714,10 +580838,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20190322:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfo" }, "tags": { "type": "object" @@ -579736,17 +580860,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -579844,8 +580968,8 @@ "type": {} } }, - "azurerm:devices/v20190322:Certificate": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:Certificate": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -579941,13 +581065,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190322:IotHubResource": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:IotHubResource": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -580018,10 +581142,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfo" }, "tags": { "type": "object" @@ -580040,17 +581164,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -580148,8 +581272,8 @@ "type": {} } }, - "azurerm:devices/v20190322preview:Certificate": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:Certificate": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -580245,13 +581369,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190322preview:IotHubResource": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:IotHubResource": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -580322,10 +581446,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfo" }, "tags": { "type": "object" @@ -580344,17 +581468,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -580452,8 +581576,8 @@ "type": {} } }, - "azurerm:devices/v20190701preview:Certificate": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:Certificate": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -580549,13 +581673,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190701preview:IotHubResource": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:IotHubResource": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -580626,10 +581750,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20191104:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfo" }, "tags": { "type": "object" @@ -580648,17 +581772,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -580756,8 +581880,203 @@ "type": {} } }, - "azurerm:devices/v20191104:Certificate": { - "apiVersion": "2019-11-04", + "azurerm:devices/v20200101:DpsCertificate": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", + "GET": [ + { + "name": "certificateName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "certificateName", + "location": "path", + "required": true, + "value": { + "type": "string", + "maxLength": 256 + } + }, + { + "name": "certificateDescription", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "certificate": { + "type": "string" + } + } + } + } + ], + "response": { + "etag": {}, + "id": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse" + }, + "type": {} + } + }, + "azurerm:devices/v20200101:IotDpsResource": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", + "GET": [ + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "iotDpsDescription", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "etag": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescription" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfo" + }, + "tags": { + "type": "object" + } + }, + "required": [ + "location", + "properties", + "sku" + ] + } + } + ], + "response": { + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse" + }, + "tags": {}, + "type": {} + } + }, + "azurerm:devices/v20200301:Certificate": { + "apiVersion": "2020-03-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -580853,13 +582172,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20191104:IotHubResource": { - "apiVersion": "2019-11-04", + "azurerm:devices/v20200301:IotHubResource": { + "apiVersion": "2020-03-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -580930,10 +582249,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20200301:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfo" }, "tags": { "type": "object" @@ -580952,17 +582271,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-11-04", + "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-03-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -581060,18 +582379,10 @@ "type": {} } }, - "azurerm:devices/v20200101:DpsCertificate": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", + "azurerm:devices/v20200301:PrivateEndpointConnection": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, { "name": "subscriptionId", "location": "path", @@ -581083,90 +582394,32 @@ { "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "privateEndpointConnectionName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } - }, - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string", - "maxLength": 256 - } - }, - { - "name": "certificateDescription", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "certificate": { - "type": "string" - } - } - } } ], - "response": { - "etag": {}, - "id": {}, - "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse" - }, - "type": {} - } - }, - "azurerm:devices/v20200101:IotDpsResource": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", - "GET": [ - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, + "PUT": [ { "name": "subscriptionId", "location": "path", @@ -581178,85 +582431,58 @@ { "name": "resourceGroupName", "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "PUT": [ - { - "name": "subscriptionId", - "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "privateEndpointConnectionName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "iotDpsDescription", + "name": "privateEndpointConnection", "location": "body", "required": true, "value": {}, "body": { "properties": { - "etag": { - "type": "string" - }, - "location": { - "type": "string" - }, "properties": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescription" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfo" - }, - "tags": { - "type": "object" + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionProperties" } }, "required": [ - "location", - "properties", - "sku" + "properties" ] } } ], "response": { - "etag": {}, "id": {}, - "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse" }, - "tags": {}, "type": {} } }, - "azurerm:devices/v20200301:Certificate": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:Certificate": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -581352,13 +582578,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200301:IotHubResource": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:IotHubResource": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -581429,10 +582655,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20200401:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfo" }, "tags": { "type": "object" @@ -581451,17 +582677,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -581559,8 +582785,8 @@ "type": {} } }, - "azurerm:devices/v20200301:PrivateEndpointConnection": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:PrivateEndpointConnection": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -581643,7 +582869,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionProperties" + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionProperties" } }, "required": [ @@ -581656,13 +582882,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200401:Certificate": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:Certificate": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -581746,8 +582972,8 @@ "value": {}, "body": { "properties": { - "certificate": { - "type": "string" + "properties": { + "$ref": "#/types/azurerm:devices/v20200615:CertificateProperties" } } } @@ -581758,13 +582984,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200401:IotHubResource": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:IotHubResource": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -581835,10 +583061,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20200615:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfo" }, "tags": { "type": "object" @@ -581857,17 +583083,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -581955,6 +583181,19 @@ "value": { "type": "string" } + }, + { + "name": "consumerGroupBody", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "properties": { + "$ref": "#/types/azurerm:devices/v20200615:EventHubConsumerGroupName" + } + } + } } ], "response": { @@ -581965,8 +583204,8 @@ "type": {} } }, - "azurerm:devices/v20200401:PrivateEndpointConnection": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:PrivateEndpointConnection": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -582049,7 +583288,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionProperties" + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionProperties" } }, "required": [ @@ -582062,13 +583301,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200615:Certificate": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:Certificate": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -582153,7 +583392,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificateProperties" + "$ref": "#/types/azurerm:devices/v20200710preview:CertificateProperties" } } } @@ -582164,13 +583403,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200615:IotHubResource": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:IotHubResource": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -582241,10 +583480,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfo" }, "tags": { "type": "object" @@ -582263,17 +583502,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -582370,7 +583609,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200615:EventHubConsumerGroupName" + "$ref": "#/types/azurerm:devices/v20200710preview:EventHubConsumerGroupName" } } } @@ -582384,8 +583623,8 @@ "type": {} } }, - "azurerm:devices/v20200615:PrivateEndpointConnection": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:PrivateEndpointConnection": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -582468,7 +583707,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionProperties" + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionProperties" } }, "required": [ @@ -582481,13 +583720,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200710preview:Certificate": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:Certificate": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -582572,7 +583811,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificateProperties" + "$ref": "#/types/azurerm:devices/v20200801:CertificateProperties" } } } @@ -582583,13 +583822,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200710preview:IotHubResource": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:IotHubResource": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -582660,10 +583899,10 @@ "type": "string" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubProperties" + "$ref": "#/types/azurerm:devices/v20200801:IotHubProperties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfo" + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfo" }, "tags": { "type": "object" @@ -582682,17 +583921,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -582789,7 +584028,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:EventHubConsumerGroupName" + "$ref": "#/types/azurerm:devices/v20200801:EventHubConsumerGroupName" } } } @@ -582803,8 +584042,8 @@ "type": {} } }, - "azurerm:devices/v20200710preview:PrivateEndpointConnection": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:PrivateEndpointConnection": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -582887,7 +584126,7 @@ "body": { "properties": { "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionProperties" + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionProperties" } }, "required": [ @@ -582900,7 +584139,7 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } @@ -628322,13 +629561,6 @@ "type": "string", "container": "properties" }, - "extensions": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceView" - }, - "container": "properties" - }, "identity": { "$ref": "#/types/azurerm:hybridcompute/latest:MachineIdentity" }, @@ -628508,10 +629740,6 @@ "type": "string", "container": "properties" }, - "instanceView": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionPropertiesInstanceView", - "container": "properties" - }, "location": { "type": "string", "forceNew": true @@ -630024,13 +631252,6 @@ "type": "string", "container": "properties" }, - "extensions": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceView" - }, - "container": "properties" - }, "identity": { "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineIdentity" }, @@ -630210,10 +631431,6 @@ "type": "string", "container": "properties" }, - "instanceView": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionPropertiesInstanceView", - "container": "properties" - }, "location": { "type": "string", "forceNew": true @@ -949071,6 +950288,246 @@ "type": {} } }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator": { + "apiVersion": "2019-01-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "operationalInsightsResourceProvider", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "workspaceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90 + } + }, + { + "name": "name", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "operationalInsightsResourceProvider", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "workspaceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90 + } + }, + { + "name": "name", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "ThreatIntelligenceIndicatorObjectToUpsert", + "location": "body", + "source": "method", + "required": true, + "value": {}, + "body": { + "properties": { + "confidence": { + "type": "integer", + "container": "properties" + }, + "created": { + "type": "string", + "container": "properties" + }, + "createdByRef": { + "type": "string", + "container": "properties" + }, + "description": { + "type": "string", + "container": "properties" + }, + "displayName": { + "type": "string", + "container": "properties" + }, + "etag": { + "type": "string" + }, + "externalId": { + "type": "string", + "container": "properties" + }, + "externalReferences": { + "type": "array", + "items": { + "type": "string" + }, + "container": "properties" + }, + "granularMarkings": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:securityinsights/v20190101preview:ThreatIntelligenceGranularMarkingModel" + }, + "container": "properties" + }, + "indicatorTypes": { + "type": "array", + "items": { + "type": "string" + }, + "container": "properties" + }, + "killChainPhases": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:securityinsights/v20190101preview:ThreatIntelligenceKillChainPhase" + }, + "container": "properties" + }, + "kind": { + "type": "string" + }, + "labels": { + "type": "array", + "items": { + "type": "string" + }, + "container": "properties" + }, + "lastUpdatedTimeUtc": { + "type": "string", + "container": "properties" + }, + "modified": { + "type": "string", + "container": "properties" + }, + "pattern": { + "type": "string", + "container": "properties" + }, + "patternType": { + "type": "string", + "container": "properties" + }, + "revoked": { + "type": "boolean", + "container": "properties" + }, + "source": { + "type": "string", + "container": "properties" + }, + "threatIntelligenceTags": { + "type": "array", + "items": { + "type": "string" + }, + "container": "properties" + }, + "threatTypes": { + "type": "array", + "items": { + "type": "string" + }, + "container": "properties" + }, + "validFrom": { + "type": "string", + "container": "properties" + }, + "validUntil": { + "type": "string", + "container": "properties" + } + }, + "required": [ + "kind" + ] + } + } + ], + "response": { + "etag": {}, + "id": {}, + "kind": {}, + "name": {}, + "type": {} + } + }, "azurerm:securityinsights/v20190101preview:Watchlist": { "apiVersion": "2019-01-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", @@ -1136471,7 +1137928,7 @@ } }, "azurerm:devices/latest:getCertificate": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1136616,7 +1138073,7 @@ } }, "azurerm:devices/latest:getIotHubResource": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1136663,7 +1138120,7 @@ } }, "azurerm:devices/latest:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1136719,7 +1138176,7 @@ } }, "azurerm:devices/latest:getPrivateEndpointConnection": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1136853,7 +1138310,7 @@ } }, "azurerm:devices/latest:listIotHubResourceKeys": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1136894,7 +1138351,7 @@ } }, "azurerm:devices/latest:listIotHubResourceKeysForKeyName": { - "apiVersion": "2020-06-15", + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1137903,10 +1139360,343 @@ "secondaryKey": {} } }, - "azurerm:devices/v20180122:getCertificate": { + "azurerm:devices/v20180122:getCertificate": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "certificateName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" + }, + "type": {} + } + }, + "azurerm:devices/v20180122:getDpsCertificate": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", + "GET": [ + { + "name": "certificateName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" + }, + "type": {} + } + }, + "azurerm:devices/v20180122:getIotDpsResource": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", + "GET": [ + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescriptionResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfoResponse" + }, + "tags": {}, + "type": {} + } + }, + "azurerm:devices/v20180122:getIotHubResource": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse" + }, + "tags": {}, + "type": {} + } + }, + "azurerm:devices/v20180122:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "eventHubEndpointName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "name", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "name": {}, + "properties": {}, + "type": {} + } + }, + "azurerm:devices/v20180122:listIotDpsResourceKeys": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/listkeys", + "GET": null, + "POST": [ + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "response": { + "nextLink": {}, + "value": { + "items": { + "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" + } + } + } + }, + "azurerm:devices/v20180122:listIotDpsResourceKeysForKeyName": { + "apiVersion": "2018-01-22", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys", + "GET": null, + "POST": [ + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "keyName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "response": { + "keyName": {}, + "primaryKey": {}, + "rights": {}, + "secondaryKey": {} + } + }, + "azurerm:devices/v20180122:listIotHubResourceKeys": { "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", - "GET": [ + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", + "GET": null, + "POST": [ { "name": "subscriptionId", "location": "path", @@ -1137932,35 +1139722,24 @@ "value": { "type": "string" } - }, - { - "name": "certificateName", - "location": "path", - "source": "method", - "required": true, - "value": { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - } } ], - "POST": null, "response": { - "etag": {}, - "id": {}, - "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" - }, - "type": {} + "nextLink": {}, + "value": { + "items": { + "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleResponse" + } + } } }, - "azurerm:devices/v20180122:getDpsCertificate": { + "azurerm:devices/v20180122:listIotHubResourceKeysForKeyName": { "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", - "GET": [ + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", + "GET": null, + "POST": [ { - "name": "certificateName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1137968,23 +1139747,25 @@ } }, { - "name": "subscriptionId", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "provisioningServiceName", + "name": "keyName", "location": "path", "required": true, "value": { @@ -1137992,23 +1139773,19 @@ } } ], - "POST": null, "response": { - "etag": {}, - "id": {}, - "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20180122:CertificatePropertiesResponse" - }, - "type": {} + "keyName": {}, + "primaryKey": {}, + "rights": {}, + "secondaryKey": {} } }, - "azurerm:devices/v20180122:getIotDpsResource": { - "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", + "azurerm:devices/v20180401:getCertificate": { + "apiVersion": "2018-04-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { - "name": "provisioningServiceName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1138016,40 +1139793,47 @@ } }, { - "name": "subscriptionId", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } + }, + { + "name": "certificateName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + } } ], "POST": null, "response": { "etag": {}, "id": {}, - "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsPropertiesDescriptionResponse" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse" }, - "tags": {}, "type": {} } }, - "azurerm:devices/v20180122:getIotHubResource": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:getIotHubResource": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1138086,17 +1139870,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20180122:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1138151,92 +1139935,8 @@ "type": {} } }, - "azurerm:devices/v20180122:listIotDpsResourceKeys": { - "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/listkeys", - "GET": null, - "POST": [ - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "response": { - "nextLink": {}, - "value": { - "items": { - "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" - } - } - } - }, - "azurerm:devices/v20180122:listIotDpsResourceKeysForKeyName": { - "apiVersion": "2018-01-22", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys", - "GET": null, - "POST": [ - { - "name": "provisioningServiceName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "keyName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "response": { - "keyName": {}, - "primaryKey": {}, - "rights": {}, - "secondaryKey": {} - } - }, - "azurerm:devices/v20180122:listIotHubResourceKeys": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:listIotHubResourceKeys": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1138271,13 +1139971,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20180401:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20180122:listIotHubResourceKeysForKeyName": { - "apiVersion": "2018-01-22", + "azurerm:devices/v20180401:listIotHubResourceKeysForKeyName": { + "apiVersion": "2018-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1138323,8 +1140023,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20180401:getCertificate": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:getCertificate": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1138370,13 +1140070,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20180401:getIotHubResource": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:getIotHubResource": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1138413,17 +1140113,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20180401:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1138478,8 +1140178,8 @@ "type": {} } }, - "azurerm:devices/v20180401:listIotHubResourceKeys": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:listIotHubResourceKeys": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1138514,13 +1140214,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20180401:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20180401:listIotHubResourceKeysForKeyName": { - "apiVersion": "2018-04-01", + "azurerm:devices/v20181201preview:listIotHubResourceKeysForKeyName": { + "apiVersion": "2018-12-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1138566,8 +1140266,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20181201preview:getCertificate": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:getCertificate": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1138613,13 +1140313,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20181201preview:getIotHubResource": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:getIotHubResource": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1138656,17 +1140356,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20181201preview:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1138721,8 +1140421,8 @@ "type": {} } }, - "azurerm:devices/v20181201preview:listIotHubResourceKeys": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:listIotHubResourceKeys": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1138757,13 +1140457,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20181201preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190322:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20181201preview:listIotHubResourceKeysForKeyName": { - "apiVersion": "2018-12-01-preview", + "azurerm:devices/v20190322:listIotHubResourceKeysForKeyName": { + "apiVersion": "2019-03-22", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1138809,8 +1140509,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20190322:getCertificate": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:getCertificate": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1138856,13 +1140556,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190322:getIotHubResource": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:getIotHubResource": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1138899,17 +1140599,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190322:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1138964,8 +1140664,8 @@ "type": {} } }, - "azurerm:devices/v20190322:listIotHubResourceKeys": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:listIotHubResourceKeys": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1139000,13 +1140700,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20190322:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20190322:listIotHubResourceKeysForKeyName": { - "apiVersion": "2019-03-22", + "azurerm:devices/v20190322preview:listIotHubResourceKeysForKeyName": { + "apiVersion": "2019-03-22-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1139052,8 +1140752,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20190322preview:getCertificate": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:getCertificate": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1139099,13 +1140799,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190322preview:getIotHubResource": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:getIotHubResource": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1139142,17 +1140842,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190322preview:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1139207,8 +1140907,8 @@ "type": {} } }, - "azurerm:devices/v20190322preview:listIotHubResourceKeys": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:listIotHubResourceKeys": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1139243,13 +1140943,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20190322preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20190322preview:listIotHubResourceKeysForKeyName": { - "apiVersion": "2019-03-22-preview", + "azurerm:devices/v20190701preview:listIotHubResourceKeysForKeyName": { + "apiVersion": "2019-07-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1139295,8 +1140995,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20190701preview:getCertificate": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:getCertificate": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1139342,13 +1141042,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20190701preview:getIotHubResource": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:getIotHubResource": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1139385,17 +1141085,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20190701preview:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1139450,8 +1141150,8 @@ "type": {} } }, - "azurerm:devices/v20190701preview:listIotHubResourceKeys": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:listIotHubResourceKeys": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1139486,13 +1141186,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20190701preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20191104:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20190701preview:listIotHubResourceKeysForKeyName": { - "apiVersion": "2019-07-01-preview", + "azurerm:devices/v20191104:listIotHubResourceKeysForKeyName": { + "apiVersion": "2019-11-04", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1139538,12 +1141238,12 @@ "secondaryKey": {} } }, - "azurerm:devices/v20191104:getCertificate": { - "apiVersion": "2019-11-04", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", + "azurerm:devices/v20200101:getDpsCertificate": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", "GET": [ { - "name": "subscriptionId", + "name": "certificateName", "location": "path", "required": true, "value": { @@ -1139551,31 +1141251,27 @@ } }, { - "name": "resourceGroupName", + "name": "subscriptionId", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "certificateName", + "name": "provisioningServiceName", "location": "path", - "source": "method", "required": true, "value": { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" + "type": "string" } } ], @@ -1139585,17 +1141281,17 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20191104:getIotHubResource": { - "apiVersion": "2019-11-04", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "azurerm:devices/v20200101:getIotDpsResource": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", "GET": [ { - "name": "subscriptionId", + "name": "provisioningServiceName", "location": "path", "required": true, "value": { @@ -1139603,18 +1141299,16 @@ } }, { - "name": "resourceGroupName", + "name": "subscriptionId", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "resourceGroupName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" @@ -1139628,19 +1141322,28 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20191104:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2019-11-04", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", - "GET": [ + "azurerm:devices/v20200101:listIotDpsResourceKeys": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/listkeys", + "GET": null, + "POST": [ + { + "name": "provisioningServiceName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, { "name": "subscriptionId", "location": "path", @@ -1139652,23 +1141355,44 @@ { "name": "resourceGroupName", "location": "path", - "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "response": { + "nextLink": {}, + "value": { + "items": { + "$ref": "#/types/azurerm:devices/v20200101:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" + } + } + } + }, + "azurerm:devices/v20200101:listIotDpsResourceKeysForKeyName": { + "apiVersion": "2020-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys", + "GET": null, + "POST": [ + { + "name": "provisioningServiceName", + "location": "path", "required": true, "value": { "type": "string" } }, { - "name": "resourceName", + "name": "keyName", "location": "path", - "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "eventHubEndpointName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1139676,12 +1141400,60 @@ } }, { - "name": "name", + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + } + ], + "response": { + "keyName": {}, + "primaryKey": {}, + "rights": {}, + "secondaryKey": {} + } + }, + "azurerm:devices/v20200301:getCertificate": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } + }, + { + "name": "certificateName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + } } ], "POST": null, @@ -1139689,15 +1141461,16 @@ "etag": {}, "id": {}, "name": {}, - "properties": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse" + }, "type": {} } }, - "azurerm:devices/v20191104:listIotHubResourceKeys": { - "apiVersion": "2019-11-04", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", - "GET": null, - "POST": [ + "azurerm:devices/v20200301:getIotHubResource": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", + "GET": [ { "name": "subscriptionId", "location": "path", @@ -1139725,20 +1141498,26 @@ } } ], + "POST": null, "response": { - "nextLink": {}, - "value": { - "items": { - "$ref": "#/types/azurerm:devices/v20191104:SharedAccessSignatureAuthorizationRuleResponse" - } - } + "etag": {}, + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse" + }, + "tags": {}, + "type": {} } }, - "azurerm:devices/v20191104:listIotHubResourceKeysForKeyName": { - "apiVersion": "2019-11-04", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", - "GET": null, - "POST": [ + "azurerm:devices/v20200301:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", + "GET": [ { "name": "subscriptionId", "location": "path", @@ -1139766,43 +1141545,7 @@ } }, { - "name": "keyName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - } - ], - "response": { - "keyName": {}, - "primaryKey": {}, - "rights": {}, - "secondaryKey": {} - } - }, - "azurerm:devices/v20200101:getDpsCertificate": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}", - "GET": [ - { - "name": "certificateName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", + "name": "eventHubEndpointName", "location": "path", "required": true, "value": { @@ -1139810,7 +1141553,7 @@ } }, { - "name": "provisioningServiceName", + "name": "name", "location": "path", "required": true, "value": { @@ -1139823,18 +1141566,16 @@ "etag": {}, "id": {}, "name": {}, - "properties": { - "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse" - }, + "properties": {}, "type": {} } }, - "azurerm:devices/v20200101:getIotDpsResource": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}", + "azurerm:devices/v20200301:getPrivateEndpointConnection": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { - "name": "provisioningServiceName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1139842,16 +1141583,27 @@ } }, { - "name": "subscriptionId", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "privateEndpointConnectionName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -1139860,27 +1141612,21 @@ ], "POST": null, "response": { - "etag": {}, "id": {}, - "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse" }, - "tags": {}, "type": {} } }, - "azurerm:devices/v20200101:listIotDpsResourceKeys": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/listkeys", + "azurerm:devices/v20200301:listIotHubResourceKeys": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ { - "name": "provisioningServiceName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1139888,16 +1141634,18 @@ } }, { - "name": "subscriptionId", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" @@ -1139908,18 +1141656,18 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20200101:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" + "$ref": "#/types/azurerm:devices/v20200301:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20200101:listIotDpsResourceKeysForKeyName": { - "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys", + "azurerm:devices/v20200301:listIotHubResourceKeysForKeyName": { + "apiVersion": "2020-03-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ { - "name": "provisioningServiceName", + "name": "subscriptionId", "location": "path", "required": true, "value": { @@ -1139927,23 +1141675,25 @@ } }, { - "name": "keyName", + "name": "resourceGroupName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "subscriptionId", + "name": "resourceName", "location": "path", + "source": "method", "required": true, "value": { "type": "string" } }, { - "name": "resourceGroupName", + "name": "keyName", "location": "path", "required": true, "value": { @@ -1139958,8 +1141708,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20200301:getCertificate": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:getCertificate": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1140005,13 +1141755,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200301:getIotHubResource": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:getIotHubResource": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1140048,17 +1141798,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200301:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1140113,8 +1141863,8 @@ "type": {} } }, - "azurerm:devices/v20200301:getPrivateEndpointConnection": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:getPrivateEndpointConnection": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1140158,13 +1141908,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200301:listIotHubResourceKeys": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:listIotHubResourceKeys": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1140199,13 +1141949,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20200301:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200401:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20200301:listIotHubResourceKeysForKeyName": { - "apiVersion": "2020-03-01", + "azurerm:devices/v20200401:listIotHubResourceKeysForKeyName": { + "apiVersion": "2020-04-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1140251,8 +1142001,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20200401:getCertificate": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:getCertificate": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1140298,13 +1142048,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200401:getIotHubResource": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:getIotHubResource": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1140341,17 +1142091,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200401:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1140406,8 +1142156,8 @@ "type": {} } }, - "azurerm:devices/v20200401:getPrivateEndpointConnection": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:getPrivateEndpointConnection": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1140451,13 +1142201,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200401:listIotHubResourceKeys": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:listIotHubResourceKeys": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1140492,13 +1142242,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20200401:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200615:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20200401:listIotHubResourceKeysForKeyName": { - "apiVersion": "2020-04-01", + "azurerm:devices/v20200615:listIotHubResourceKeysForKeyName": { + "apiVersion": "2020-06-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1140544,8 +1142294,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20200615:getCertificate": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:getCertificate": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1140591,13 +1142341,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200615:getIotHubResource": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:getIotHubResource": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1140634,17 +1142384,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200615:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1140699,8 +1142449,8 @@ "type": {} } }, - "azurerm:devices/v20200615:getPrivateEndpointConnection": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:getPrivateEndpointConnection": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1140744,13 +1142494,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200615:listIotHubResourceKeys": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:listIotHubResourceKeys": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1140785,13 +1142535,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20200615:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20200615:listIotHubResourceKeysForKeyName": { - "apiVersion": "2020-06-15", + "azurerm:devices/v20200710preview:listIotHubResourceKeysForKeyName": { + "apiVersion": "2020-07-10-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1140837,8 +1142587,8 @@ "secondaryKey": {} } }, - "azurerm:devices/v20200710preview:getCertificate": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:getCertificate": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}", "GET": [ { @@ -1140884,13 +1142634,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:CertificatePropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200710preview:getIotHubResource": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:getIotHubResource": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}", "GET": [ { @@ -1140927,17 +1142677,17 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:IotHubPropertiesResponse" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse" + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfoResponse" }, "tags": {}, "type": {} } }, - "azurerm:devices/v20200710preview:getIotHubResourceEventHubConsumerGroup": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}", "GET": [ { @@ -1140992,8 +1142742,8 @@ "type": {} } }, - "azurerm:devices/v20200710preview:getPrivateEndpointConnection": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:getPrivateEndpointConnection": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1141037,13 +1142787,13 @@ "id": {}, "name": {}, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse" + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse" }, "type": {} } }, - "azurerm:devices/v20200710preview:listIotHubResourceKeys": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:listIotHubResourceKeys": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys", "GET": null, "POST": [ @@ -1141078,13 +1142828,13 @@ "nextLink": {}, "value": { "items": { - "$ref": "#/types/azurerm:devices/v20200710preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse" } } } }, - "azurerm:devices/v20200710preview:listIotHubResourceKeysForKeyName": { - "apiVersion": "2020-07-10-preview", + "azurerm:devices/v20200801:listIotHubResourceKeysForKeyName": { + "apiVersion": "2020-08-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys", "GET": null, "POST": [ @@ -1335398,6 +1337148,70 @@ "type": {} } }, + "azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator": { + "apiVersion": "2019-01-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "operationalInsightsResourceProvider", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "workspaceName", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90 + } + }, + { + "name": "name", + "location": "path", + "source": "method", + "required": true, + "value": { + "type": "string" + } + } + ], + "POST": null, + "response": { + "etag": {}, + "id": {}, + "kind": {}, + "name": {}, + "type": {} + } + }, "azurerm:securityinsights/v20190101preview:getWatchlist": { "apiVersion": "2019-01-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", diff --git a/sdk/schema/schema.json b/sdk/schema/schema.json index a78aa42388a7..34651a672969 100644 --- a/sdk/schema/schema.json +++ b/sdk/schema/schema.json @@ -175717,6 +175717,1408 @@ "containerName" ] }, + "azurerm:devices/v20200801:CertificateProperties": { + "description": "The description of an X509 CA Certificate.", + "properties": { + "certificate": { + "type": "string", + "description": "The certificate content" + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:CertificatePropertiesResponse": { + "description": "The description of an X509 CA Certificate.", + "properties": { + "certificate": { + "type": "string", + "description": "The certificate content" + }, + "created": { + "type": "string", + "description": "The certificate's create date and time." + }, + "expiry": { + "type": "string", + "description": "The certificate's expiration date and time." + }, + "isVerified": { + "type": "boolean", + "description": "Determines whether certificate has been verified." + }, + "subject": { + "type": "string", + "description": "The certificate's subject name." + }, + "thumbprint": { + "type": "string", + "description": "The certificate's thumbprint." + }, + "updated": { + "type": "string", + "description": "The certificate's last update date and time." + } + }, + "type": "object", + "required": [ + "created", + "expiry", + "isVerified", + "subject", + "thumbprint", + "updated" + ] + }, + "azurerm:devices/v20200801:CloudToDeviceProperties": { + "description": "The IoT hub cloud-to-device messaging properties.", + "properties": { + "defaultTtlAsIso8601": { + "type": "string", + "description": "The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "feedback": { + "$ref": "#/types/azurerm:devices/v20200801:FeedbackProperties", + "description": "The properties of the feedback queue for cloud-to-device messages." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:CloudToDevicePropertiesResponse": { + "description": "The IoT hub cloud-to-device messaging properties.", + "properties": { + "defaultTtlAsIso8601": { + "type": "string", + "description": "The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "feedback": { + "$ref": "#/types/azurerm:devices/v20200801:FeedbackPropertiesResponse", + "description": "The properties of the feedback queue for cloud-to-device messages." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:EnrichmentProperties": { + "description": "The properties of an enrichment that your IoT hub applies to messages delivered to endpoints.", + "properties": { + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints for which the enrichment is applied to the message." + }, + "key": { + "type": "string", + "description": "The key or name for the enrichment property." + }, + "value": { + "type": "string", + "description": "The value for the enrichment property." + } + }, + "type": "object", + "required": [ + "endpointNames", + "key", + "value" + ] + }, + "azurerm:devices/v20200801:EnrichmentPropertiesResponse": { + "description": "The properties of an enrichment that your IoT hub applies to messages delivered to endpoints.", + "properties": { + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints for which the enrichment is applied to the message." + }, + "key": { + "type": "string", + "description": "The key or name for the enrichment property." + }, + "value": { + "type": "string", + "description": "The value for the enrichment property." + } + }, + "type": "object", + "required": [ + "endpointNames", + "key", + "value" + ] + }, + "azurerm:devices/v20200801:EventHubConsumerGroupName": { + "description": "The EventHub consumer group name.", + "properties": { + "name": { + "type": "string", + "description": "EventHub consumer group name" + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:EventHubProperties": { + "description": "The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.", + "properties": { + "partitionCount": { + "type": "integer", + "description": "The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages." + }, + "retentionTimeInDays": { + "type": "integer", + "description": "The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages" + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:EventHubPropertiesResponse": { + "description": "The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.", + "properties": { + "endpoint": { + "type": "string", + "description": "The Event Hub-compatible endpoint." + }, + "partitionCount": { + "type": "integer", + "description": "The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages." + }, + "partitionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The partition ids in the Event Hub-compatible endpoint." + }, + "path": { + "type": "string", + "description": "The Event Hub-compatible name." + }, + "retentionTimeInDays": { + "type": "integer", + "description": "The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages" + } + }, + "type": "object", + "required": [ + "endpoint", + "partitionIds", + "path" + ] + }, + "azurerm:devices/v20200801:FallbackRouteProperties": { + "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.", + "properties": { + "condition": { + "type": "string", + "description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed." + }, + "isEnabled": { + "type": "boolean", + "description": "Used to specify whether the fallback route is enabled." + }, + "name": { + "type": "string", + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "type": "string", + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" + } + }, + "type": "object", + "required": [ + "endpointNames", + "isEnabled", + "source" + ] + }, + "azurerm:devices/v20200801:FallbackRoutePropertiesResponse": { + "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.", + "properties": { + "condition": { + "type": "string", + "description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed." + }, + "isEnabled": { + "type": "boolean", + "description": "Used to specify whether the fallback route is enabled." + }, + "name": { + "type": "string", + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "type": "string", + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" + } + }, + "type": "object", + "required": [ + "endpointNames", + "isEnabled", + "source" + ] + }, + "azurerm:devices/v20200801:FeedbackProperties": { + "description": "The properties of the feedback queue for cloud-to-device messages.", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "description": "The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "ttlAsIso8601": { + "type": "string", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:FeedbackPropertiesResponse": { + "description": "The properties of the feedback queue for cloud-to-device messages.", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "description": "The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "ttlAsIso8601": { + "type": "string", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:IotHubLocationDescriptionResponse": { + "description": "Public representation of one of the locations where a resource is provisioned.", + "properties": { + "location": { + "type": "string", + "description": "The name of the Azure region" + }, + "role": { + "type": "string", + "description": "The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:IotHubProperties": { + "description": "The properties of an IoT hub.", + "properties": { + "authorizationPolicies": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRule" + }, + "description": "The shared access policies you can use to secure a connection to the IoT hub." + }, + "cloudToDevice": { + "$ref": "#/types/azurerm:devices/v20200801:CloudToDeviceProperties", + "description": "The IoT hub cloud-to-device messaging properties." + }, + "comments": { + "type": "string", + "description": "IoT hub comments." + }, + "enableFileUploadNotifications": { + "type": "boolean", + "description": "If True, file upload notifications are enabled." + }, + "eventHubEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:EventHubProperties" + }, + "description": "The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub." + }, + "features": { + "type": "string", + "description": "The capabilities and features enabled for the IoT hub." + }, + "ipFilterRules": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IpFilterRule" + }, + "description": "The IP filter rules." + }, + "messagingEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:MessagingEndpointProperties" + }, + "description": "The messaging endpoint properties for the file upload notification queue." + }, + "minTlsVersion": { + "type": "string", + "description": "Specifies the minimum TLS version to support for this hub. Can be set to \"1.2\" to have clients that use a TLS version below 1.2 to be rejected." + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnection" + }, + "description": "Private endpoint connections created on this IotHub" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed" + }, + "routing": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingProperties", + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" + }, + "storageEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:StorageEndpointProperties" + }, + "description": "The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:IotHubPropertiesResponse": { + "description": "The properties of an IoT hub.", + "properties": { + "authorizationPolicies": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse" + }, + "description": "The shared access policies you can use to secure a connection to the IoT hub." + }, + "cloudToDevice": { + "$ref": "#/types/azurerm:devices/v20200801:CloudToDevicePropertiesResponse", + "description": "The IoT hub cloud-to-device messaging properties." + }, + "comments": { + "type": "string", + "description": "IoT hub comments." + }, + "enableFileUploadNotifications": { + "type": "boolean", + "description": "If True, file upload notifications are enabled." + }, + "eventHubEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:EventHubPropertiesResponse" + }, + "description": "The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub." + }, + "features": { + "type": "string", + "description": "The capabilities and features enabled for the IoT hub." + }, + "hostName": { + "type": "string", + "description": "The name of the host." + }, + "ipFilterRules": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IpFilterRuleResponse" + }, + "description": "The IP filter rules." + }, + "locations": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:IotHubLocationDescriptionResponse" + }, + "description": "Primary and secondary location for iot hub" + }, + "messagingEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:MessagingEndpointPropertiesResponse" + }, + "description": "The messaging endpoint properties for the file upload notification queue." + }, + "minTlsVersion": { + "type": "string", + "description": "Specifies the minimum TLS version to support for this hub. Can be set to \"1.2\" to have clients that use a TLS version below 1.2 to be rejected." + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionResponse" + }, + "description": "Private endpoint connections created on this IotHub" + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state." + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed" + }, + "routing": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingPropertiesResponse", + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" + }, + "state": { + "type": "string", + "description": "The hub state." + }, + "storageEndpoints": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/azurerm:devices/v20200801:StorageEndpointPropertiesResponse" + }, + "description": "The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown." + } + }, + "type": "object", + "required": [ + "hostName", + "locations", + "provisioningState", + "state" + ] + }, + "azurerm:devices/v20200801:IotHubSkuInfo": { + "description": "Information about the SKU of the IoT hub.", + "properties": { + "capacity": { + "type": "integer", + "description": "The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits." + }, + "name": { + "type": "string", + "description": "The name of the SKU." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:IotHubSkuInfoResponse": { + "description": "Information about the SKU of the IoT hub.", + "properties": { + "capacity": { + "type": "integer", + "description": "The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits." + }, + "name": { + "type": "string", + "description": "The name of the SKU." + }, + "tier": { + "type": "string", + "description": "The billing tier for the IoT hub." + } + }, + "type": "object", + "required": [ + "name", + "tier" + ] + }, + "azurerm:devices/v20200801:IpFilterRule": { + "description": "The IP filter rules for the IoT hub.", + "properties": { + "action": { + "type": "string", + "description": "The desired action for requests captured by this rule." + }, + "filterName": { + "type": "string", + "description": "The name of the IP filter rule." + }, + "ipMask": { + "type": "string", + "description": "A string that contains the IP address range in CIDR notation for the rule." + } + }, + "type": "object", + "required": [ + "action", + "filterName", + "ipMask" + ] + }, + "azurerm:devices/v20200801:IpFilterRuleResponse": { + "description": "The IP filter rules for the IoT hub.", + "properties": { + "action": { + "type": "string", + "description": "The desired action for requests captured by this rule." + }, + "filterName": { + "type": "string", + "description": "The name of the IP filter rule." + }, + "ipMask": { + "type": "string", + "description": "A string that contains the IP address range in CIDR notation for the rule." + } + }, + "type": "object", + "required": [ + "action", + "filterName", + "ipMask" + ] + }, + "azurerm:devices/v20200801:MessagingEndpointProperties": { + "description": "The properties of the messaging endpoints used by this IoT hub.", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "description": "The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "ttlAsIso8601": { + "type": "string", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:MessagingEndpointPropertiesResponse": { + "description": "The properties of the messaging endpoints used by this IoT hub.", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "description": "The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "maxDeliveryCount": { + "type": "integer", + "description": "The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "ttlAsIso8601": { + "type": "string", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:PrivateEndpointConnection": { + "description": "The private endpoint connection of an IotHub", + "properties": { + "properties": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection" + } + }, + "type": "object", + "required": [ + "properties" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionProperties": { + "description": "The properties of a private endpoint connection", + "properties": { + "privateLinkServiceConnectionState": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateLinkServiceConnectionState", + "description": "The current state of a private endpoint connection" + } + }, + "type": "object", + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse": { + "description": "The properties of a private endpoint connection", + "properties": { + "privateEndpoint": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointResponse", + "description": "The private endpoint property of a private endpoint connection" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateLinkServiceConnectionStateResponse", + "description": "The current state of a private endpoint connection" + } + }, + "type": "object", + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointConnectionResponse": { + "description": "The private endpoint connection of an IotHub", + "properties": { + "id": { + "type": "string", + "description": "The resource identifier." + }, + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse", + "description": "The properties of a private endpoint connection" + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "id", + "name", + "properties", + "type" + ] + }, + "azurerm:devices/v20200801:PrivateEndpointResponse": { + "description": "The private endpoint property of a private endpoint connection", + "properties": { + "id": { + "type": "string", + "description": "The resource identifier." + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "azurerm:devices/v20200801:PrivateLinkServiceConnectionState": { + "description": "The current state of a private endpoint connection", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Actions required for a private endpoint connection" + }, + "description": { + "type": "string", + "description": "The description for the current state of a private endpoint connection" + }, + "status": { + "type": "string", + "description": "The status of a private endpoint connection" + } + }, + "type": "object", + "required": [ + "description", + "status" + ] + }, + "azurerm:devices/v20200801:PrivateLinkServiceConnectionStateResponse": { + "description": "The current state of a private endpoint connection", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Actions required for a private endpoint connection" + }, + "description": { + "type": "string", + "description": "The description for the current state of a private endpoint connection" + }, + "status": { + "type": "string", + "description": "The status of a private endpoint connection" + } + }, + "type": "object", + "required": [ + "description", + "status" + ] + }, + "azurerm:devices/v20200801:RouteProperties": { + "description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.", + "properties": { + "condition": { + "type": "string", + "description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed." + }, + "isEnabled": { + "type": "boolean", + "description": "Used to specify whether a route is enabled." + }, + "name": { + "type": "string", + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "type": "string", + "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + } + }, + "type": "object", + "required": [ + "endpointNames", + "isEnabled", + "name", + "source" + ] + }, + "azurerm:devices/v20200801:RoutePropertiesResponse": { + "description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.", + "properties": { + "condition": { + "type": "string", + "description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed." + }, + "isEnabled": { + "type": "boolean", + "description": "Used to specify whether a route is enabled." + }, + "name": { + "type": "string", + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "type": "string", + "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + } + }, + "type": "object", + "required": [ + "endpointNames", + "isEnabled", + "name", + "source" + ] + }, + "azurerm:devices/v20200801:RoutingEndpoints": { + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.", + "properties": { + "eventHubs": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEventHubProperties" + }, + "description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint." + }, + "serviceBusQueues": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusQueueEndpointProperties" + }, + "description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules." + }, + "serviceBusTopics": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusTopicEndpointProperties" + }, + "description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules." + }, + "storageContainers": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingStorageContainerProperties" + }, + "description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:RoutingEndpointsResponse": { + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.", + "properties": { + "eventHubs": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEventHubPropertiesResponse" + }, + "description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint." + }, + "serviceBusQueues": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusQueueEndpointPropertiesResponse" + }, + "description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules." + }, + "serviceBusTopics": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingServiceBusTopicEndpointPropertiesResponse" + }, + "description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules." + }, + "storageContainers": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingStorageContainerPropertiesResponse" + }, + "description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:RoutingEventHubProperties": { + "description": "The properties related to an event hub endpoint.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the event hub endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the event hub endpoint. " + }, + "endpointUri": { + "type": "string", + "description": "The url of the event hub endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Event hub name on the event hub namespace" + }, + "id": { + "type": "string", + "description": "Id of the event hub endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the event hub endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the event hub endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingEventHubPropertiesResponse": { + "description": "The properties related to an event hub endpoint.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the event hub endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the event hub endpoint. " + }, + "endpointUri": { + "type": "string", + "description": "The url of the event hub endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Event hub name on the event hub namespace" + }, + "id": { + "type": "string", + "description": "Id of the event hub endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the event hub endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the event hub endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingProperties": { + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging", + "properties": { + "endpoints": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEndpoints", + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." + }, + "enrichments": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:EnrichmentProperties" + }, + "description": "The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid" + }, + "fallbackRoute": { + "$ref": "#/types/azurerm:devices/v20200801:FallbackRouteProperties", + "description": "The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint." + }, + "routes": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RouteProperties" + }, + "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:RoutingPropertiesResponse": { + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging", + "properties": { + "endpoints": { + "$ref": "#/types/azurerm:devices/v20200801:RoutingEndpointsResponse", + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." + }, + "enrichments": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:EnrichmentPropertiesResponse" + }, + "description": "The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid" + }, + "fallbackRoute": { + "$ref": "#/types/azurerm:devices/v20200801:FallbackRoutePropertiesResponse", + "description": "The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint." + }, + "routes": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20200801:RoutePropertiesResponse" + }, + "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs." + } + }, + "type": "object" + }, + "azurerm:devices/v20200801:RoutingServiceBusQueueEndpointProperties": { + "description": "The properties related to service bus queue endpoint types.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the service bus queue endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus queue endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus queue endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus namespace" + }, + "id": { + "type": "string", + "description": "Id of the service bus queue endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus queue endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus queue endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusQueueEndpointPropertiesResponse": { + "description": "The properties related to service bus queue endpoint types.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the service bus queue endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus queue endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus queue endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus namespace" + }, + "id": { + "type": "string", + "description": "Id of the service bus queue endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus queue endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus queue endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusTopicEndpointProperties": { + "description": "The properties related to service bus topic endpoint types.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the service bus topic endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus topic endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus topic endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus topic" + }, + "id": { + "type": "string", + "description": "Id of the service bus topic endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus topic endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus topic endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingServiceBusTopicEndpointPropertiesResponse": { + "description": "The properties related to service bus topic endpoint types.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the service bus topic endpoint" + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus topic endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus topic endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus topic" + }, + "id": { + "type": "string", + "description": "Id of the service bus topic endpoint" + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus topic endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus topic endpoint." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:devices/v20200801:RoutingStorageContainerProperties": { + "description": "The properties related to a storage container endpoint.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the storage endpoint" + }, + "batchFrequencyInSeconds": { + "type": "integer", + "description": "Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the storage account." + }, + "containerName": { + "type": "string", + "description": "The name of storage container in the storage account." + }, + "encoding": { + "type": "string", + "description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'." + }, + "endpointUri": { + "type": "string", + "description": "The url of the storage endpoint. It must include the protocol https://" + }, + "fileNameFormat": { + "type": "string", + "description": "File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered." + }, + "id": { + "type": "string", + "description": "Id of the storage container endpoint" + }, + "maxChunkSizeInBytes": { + "type": "integer", + "description": "Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB)." + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the storage account." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the storage account." + } + }, + "type": "object", + "required": [ + "containerName", + "name" + ] + }, + "azurerm:devices/v20200801:RoutingStorageContainerPropertiesResponse": { + "description": "The properties related to a storage container endpoint.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Method used to authenticate against the storage endpoint" + }, + "batchFrequencyInSeconds": { + "type": "integer", + "description": "Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the storage account." + }, + "containerName": { + "type": "string", + "description": "The name of storage container in the storage account." + }, + "encoding": { + "type": "string", + "description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'." + }, + "endpointUri": { + "type": "string", + "description": "The url of the storage endpoint. It must include the protocol https://" + }, + "fileNameFormat": { + "type": "string", + "description": "File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered." + }, + "id": { + "type": "string", + "description": "Id of the storage container endpoint" + }, + "maxChunkSizeInBytes": { + "type": "integer", + "description": "Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB)." + }, + "name": { + "type": "string", + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the storage account." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the storage account." + } + }, + "type": "object", + "required": [ + "containerName", + "name" + ] + }, + "azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRule": { + "description": "The properties of an IoT hub shared access policy.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the shared access policy." + }, + "primaryKey": { + "type": "string", + "description": "The primary key." + }, + "rights": { + "type": "string", + "description": "The permissions assigned to the shared access policy." + }, + "secondaryKey": { + "type": "string", + "description": "The secondary key." + } + }, + "type": "object", + "required": [ + "keyName", + "rights" + ] + }, + "azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse": { + "description": "The properties of an IoT hub shared access policy.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the shared access policy." + }, + "primaryKey": { + "type": "string", + "description": "The primary key." + }, + "rights": { + "type": "string", + "description": "The permissions assigned to the shared access policy." + }, + "secondaryKey": { + "type": "string", + "description": "The secondary key." + } + }, + "type": "object", + "required": [ + "keyName", + "rights" + ] + }, + "azurerm:devices/v20200801:StorageEndpointProperties": { + "description": "The properties of the Azure Storage endpoint for file upload.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Specifies authentication type being used for connecting to the storage account." + }, + "connectionString": { + "type": "string", + "description": "The connection string for the Azure Storage account to which files are uploaded." + }, + "containerName": { + "type": "string", + "description": "The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified." + }, + "sasTtlAsIso8601": { + "type": "string", + "description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options." + } + }, + "type": "object", + "required": [ + "connectionString", + "containerName" + ] + }, + "azurerm:devices/v20200801:StorageEndpointPropertiesResponse": { + "description": "The properties of the Azure Storage endpoint for file upload.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Specifies authentication type being used for connecting to the storage account." + }, + "connectionString": { + "type": "string", + "description": "The connection string for the Azure Storage account to which files are uploaded." + }, + "containerName": { + "type": "string", + "description": "The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified." + }, + "sasTtlAsIso8601": { + "type": "string", + "description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options." + } + }, + "type": "object", + "required": [ + "connectionString", + "containerName" + ] + }, "azurerm:devops/v20190701preview:Authorization": { "description": "Authorization info used to access a resource (like code repository).", "properties": { @@ -205814,28 +207216,6 @@ "contentUri" ] }, - "azurerm:hybridcompute/latest:MachineExtensionInstanceView": { - "description": "Describes the Machine Extension Instance View.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" - }, "azurerm:hybridcompute/latest:MachineExtensionInstanceViewResponse": { "description": "Describes the Machine Extension Instance View.", "properties": { @@ -205856,7 +207236,12 @@ "description": "Specifies the version of the script handler." } }, - "type": "object" + "type": "object", + "required": [ + "name", + "type", + "typeHandlerVersion" + ] }, "azurerm:hybridcompute/latest:MachineExtensionInstanceViewResponseStatus": { "description": "Instance view status.", @@ -205882,55 +207267,14 @@ "description": "The time of the status." } }, - "type": "object" - }, - "azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus": { - "description": "Instance view status.", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "type": "string", - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "description": "The time of the status." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/latest:MachineExtensionPropertiesInstanceView": { - "description": "The machine extension instance view.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceViewStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" + "type": "object", + "required": [ + "code", + "displayStatus", + "level", + "message", + "time" + ] }, "azurerm:hybridcompute/latest:MachineExtensionPropertiesResponseInstanceView": { "description": "The machine extension instance view.", @@ -205952,7 +207296,12 @@ "description": "Specifies the version of the script handler." } }, - "type": "object" + "type": "object", + "required": [ + "name", + "type", + "typeHandlerVersion" + ] }, "azurerm:hybridcompute/latest:MachineIdentity": { "properties": { @@ -207219,268 +208568,29 @@ }, "type": "object" }, - "azurerm:hybridcompute/v20200730preview:MachineExtensionPropertiesInstanceView": { - "description": "The machine extension instance view.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200730preview:MachineExtensionInstanceViewStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200730preview:MachineExtensionPropertiesResponseInstanceView": { - "description": "The machine extension instance view.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200730preview:MachineExtensionInstanceViewResponseStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200730preview:MachineIdentity": { - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200730preview:MachinePropertiesResponseOsProfile": { - "description": "Specifies the operating system settings for the hybrid machine.", - "properties": { - "computerName": { - "type": "string", - "description": "Specifies the host OS name of the hybrid machine." - } - }, - "type": "object", - "required": [ - "computerName" - ] - }, - "azurerm:hybridcompute/v20200730preview:MachineResponseIdentity": { - "properties": { - "principalId": { - "type": "string", - "description": "The identity's principal id." - }, - "tenantId": { - "type": "string", - "description": "The identity's tenant id." - }, - "type": { - "type": "string", - "description": "The identity type." - } - }, - "type": "object", - "required": [ - "principalId", - "tenantId" - ] - }, - "azurerm:hybridcompute/v20200730preview:locationData": { - "description": "Metadata pertaining to the geographic location of the resource.", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "description": "A canonical name for the geographic or physical location." - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "azurerm:hybridcompute/v20200730preview:locationDataResponse": { - "description": "Metadata pertaining to the geographic location of the resource.", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "description": "A canonical name for the geographic or physical location." - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "azurerm:hybridcompute/v20200802:ErrorDetailResponse": { - "properties": { - "code": { - "type": "string", - "description": "The error's code." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:ErrorDetailResponse" - }, - "description": "Additional error details." - }, - "message": { - "type": "string", - "description": "A human readable error message." - }, - "target": { - "type": "string", - "description": "Indicates which property in the request is responsible for the error." - } - }, - "type": "object", - "required": [ - "code", - "message" - ] - }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceView": { - "description": "Describes the Machine Extension Instance View.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponse": { - "description": "Describes the Machine Extension Instance View.", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponseStatus", - "description": "Instance view status." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponseStatus": { - "description": "Instance view status.", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "type": "string", - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "description": "The time of the status." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus": { - "description": "Instance view status.", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "type": "string", - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "description": "The time of the status." - } - }, - "type": "object" - }, - "azurerm:hybridcompute/v20200802:MachineExtensionPropertiesInstanceView": { + "azurerm:hybridcompute/v20200730preview:MachineExtensionPropertiesInstanceView": { + "description": "The machine extension instance view.", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "status": { + "$ref": "#/types/azurerm:hybridcompute/v20200730preview:MachineExtensionInstanceViewStatus", + "description": "Instance view status." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "type": "object" + }, + "azurerm:hybridcompute/v20200730preview:MachineExtensionPropertiesResponseInstanceView": { "description": "The machine extension instance view.", "properties": { "name": { @@ -207488,7 +208598,7 @@ "description": "The machine extension name." }, "status": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewStatus", + "$ref": "#/types/azurerm:hybridcompute/v20200730preview:MachineExtensionInstanceViewResponseStatus", "description": "Instance view status." }, "type": { @@ -207502,6 +208612,187 @@ }, "type": "object" }, + "azurerm:hybridcompute/v20200730preview:MachineIdentity": { + "properties": { + "type": { + "type": "string", + "description": "The identity type." + } + }, + "type": "object" + }, + "azurerm:hybridcompute/v20200730preview:MachinePropertiesResponseOsProfile": { + "description": "Specifies the operating system settings for the hybrid machine.", + "properties": { + "computerName": { + "type": "string", + "description": "Specifies the host OS name of the hybrid machine." + } + }, + "type": "object", + "required": [ + "computerName" + ] + }, + "azurerm:hybridcompute/v20200730preview:MachineResponseIdentity": { + "properties": { + "principalId": { + "type": "string", + "description": "The identity's principal id." + }, + "tenantId": { + "type": "string", + "description": "The identity's tenant id." + }, + "type": { + "type": "string", + "description": "The identity type." + } + }, + "type": "object", + "required": [ + "principalId", + "tenantId" + ] + }, + "azurerm:hybridcompute/v20200730preview:locationData": { + "description": "Metadata pertaining to the geographic location of the resource.", + "properties": { + "city": { + "type": "string", + "description": "The city or locality where the resource is located." + }, + "countryOrRegion": { + "type": "string", + "description": "The country or region where the resource is located" + }, + "district": { + "type": "string", + "description": "The district, state, or province where the resource is located." + }, + "name": { + "type": "string", + "description": "A canonical name for the geographic or physical location." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:hybridcompute/v20200730preview:locationDataResponse": { + "description": "Metadata pertaining to the geographic location of the resource.", + "properties": { + "city": { + "type": "string", + "description": "The city or locality where the resource is located." + }, + "countryOrRegion": { + "type": "string", + "description": "The country or region where the resource is located" + }, + "district": { + "type": "string", + "description": "The district, state, or province where the resource is located." + }, + "name": { + "type": "string", + "description": "A canonical name for the geographic or physical location." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azurerm:hybridcompute/v20200802:ErrorDetailResponse": { + "properties": { + "code": { + "type": "string", + "description": "The error's code." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:hybridcompute/v20200802:ErrorDetailResponse" + }, + "description": "Additional error details." + }, + "message": { + "type": "string", + "description": "A human readable error message." + }, + "target": { + "type": "string", + "description": "Indicates which property in the request is responsible for the error." + } + }, + "type": "object", + "required": [ + "code", + "message" + ] + }, + "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponse": { + "description": "Describes the Machine Extension Instance View.", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "status": { + "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponseStatus", + "description": "Instance view status." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "type": "object", + "required": [ + "name", + "type", + "typeHandlerVersion" + ] + }, + "azurerm:hybridcompute/v20200802:MachineExtensionInstanceViewResponseStatus": { + "description": "Instance view status.", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "level": { + "type": "string", + "description": "The level code." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "description": "The time of the status." + } + }, + "type": "object", + "required": [ + "code", + "displayStatus", + "level", + "message", + "time" + ] + }, "azurerm:hybridcompute/v20200802:MachineExtensionPropertiesResponseInstanceView": { "description": "The machine extension instance view.", "properties": { @@ -207522,7 +208813,12 @@ "description": "Specifies the version of the script handler." } }, - "type": "object" + "type": "object", + "required": [ + "name", + "type", + "typeHandlerVersion" + ] }, "azurerm:hybridcompute/v20200802:MachineIdentity": { "properties": { @@ -258215,22 +259511,52 @@ "azurerm:machinelearningservices/v20200901preview:LinkedServiceProps": { "description": "LinkedService specific properties.", "properties": { + "createdTime": { + "type": "string", + "description": "The creation time of the linked service." + }, + "linkType": { + "type": "string", + "description": "Type of the link target." + }, "linkedServiceResourceId": { "type": "string", "description": "ResourceId of the link target of the linked service." + }, + "modifiedTime": { + "type": "string", + "description": "The last modified time of the linked service." } }, - "type": "object" + "type": "object", + "required": [ + "linkedServiceResourceId" + ] }, "azurerm:machinelearningservices/v20200901preview:LinkedServicePropsResponse": { "description": "LinkedService specific properties.", "properties": { + "createdTime": { + "type": "string", + "description": "The creation time of the linked service." + }, + "linkType": { + "type": "string", + "description": "Type of the link target." + }, "linkedServiceResourceId": { "type": "string", "description": "ResourceId of the link target of the linked service." + }, + "modifiedTime": { + "type": "string", + "description": "The last modified time of the linked service." } }, - "type": "object" + "type": "object", + "required": [ + "linkedServiceResourceId" + ] }, "azurerm:machinelearningservices/v20200901preview:MachineLearningServiceErrorResponse": { "description": "Wrapper for error response to follow ARM guidelines.", @@ -574437,7 +575763,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -574447,7 +575773,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -575298,7 +576624,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -575308,7 +576634,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -575616,7 +576942,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -575626,7 +576952,7 @@ "properties": { "name": { "type": "string", - "description": "The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" + "description": "The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'" } }, "type": "object" @@ -579602,6 +580928,41 @@ }, "type": "object" }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceGranularMarkingModel": { + "description": "Describes threat granular marking model entity", + "properties": { + "language": { + "type": "string", + "description": "Language granular marking model" + }, + "markingRef": { + "type": "integer", + "description": "marking reference granular marking model" + }, + "selectors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "granular marking model selectors" + } + }, + "type": "object" + }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceKillChainPhase": { + "description": "Describes threat kill chain phase entity", + "properties": { + "killChainName": { + "type": "string", + "description": "Kill chainName name" + }, + "phaseName": { + "type": "integer", + "description": "Phase name" + } + }, + "type": "object" + }, "azurerm:securityinsights/v20190101preview:UserInfo": { "description": "User information that made some action", "properties": { @@ -615765,6 +617126,10 @@ "azurerm:synapse/v20190601preview:Sku": { "description": "SQL pool SKU", "properties": { + "capacity": { + "type": "integer", + "description": "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." + }, "name": { "type": "string", "description": "The SKU name" @@ -615779,6 +617144,10 @@ "azurerm:synapse/v20190601preview:SkuResponse": { "description": "SQL pool SKU", "properties": { + "capacity": { + "type": "integer", + "description": "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." + }, "name": { "type": "string", "description": "The SKU name" @@ -775320,6 +776689,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -775610,6 +776982,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -775713,6 +777088,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -775774,6 +777152,9 @@ }, { "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200801:PrivateEndpointConnection" } ] }, @@ -775921,6 +777302,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -776006,6 +777390,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -776153,6 +777540,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -776238,6 +777628,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -776327,6 +777720,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -776474,6 +777870,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -776559,6 +777958,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -776972,6 +778374,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -777262,6 +778667,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -777361,6 +778769,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -777450,6 +778861,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -777577,6 +778991,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -777676,6 +779093,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -777765,6 +779185,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -777892,6 +779315,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -777991,6 +779417,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -778080,6 +779509,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -778207,6 +779639,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -778306,6 +779741,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -778395,6 +779833,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -778522,6 +779963,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -778621,6 +780065,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -778710,6 +780157,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -778837,6 +780287,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -778936,6 +780389,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -779025,6 +780481,9 @@ }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, @@ -779152,6 +780611,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, @@ -779251,6 +780713,9 @@ }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, @@ -779372,20 +780837,210 @@ "description": "The resource location." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescription", - "description": "Service specific properties for a provisioning service" + "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescription", + "description": "Service specific properties for a provisioning service" + }, + "provisioningServiceName": { + "type": "string", + "description": "Name of provisioning service to create or update." + }, + "resourceGroupName": { + "type": "string", + "description": "Resource group identifier." + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfo", + "description": "Sku info for a provisioning Service." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + } + }, + "requiredInputs": [ + "location", + "properties", + "provisioningServiceName", + "resourceGroupName", + "sku" + ], + "aliases": [ + { + "type": "azurerm:devices/latest:IotDpsResource" + }, + { + "type": "azurerm:devices/v20170821preview:IotDpsResource" + }, + { + "type": "azurerm:devices/v20171115:IotDpsResource" + }, + { + "type": "azurerm:devices/v20180122:IotDpsResource" + } + ] + }, + "azurerm:devices/v20200301:Certificate": { + "description": "The X509 Certificate.", + "properties": { + "etag": { + "type": "string", + "description": "The entity tag." + }, + "name": { + "type": "string", + "description": "The name of the certificate." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse", + "description": "The description of an X509 CA Certificate." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ], + "inputProperties": { + "certificate": { + "type": "string", + "description": "base-64 representation of the X509 leaf certificate .cer file or just .pem file content." + }, + "certificateName": { + "type": "string", + "description": "The name of the certificate" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "requiredInputs": [ + "certificateName", + "resourceGroupName", + "resourceName" + ], + "aliases": [ + { + "type": "azurerm:devices/latest:Certificate" + }, + { + "type": "azurerm:devices/v20170701:Certificate" + }, + { + "type": "azurerm:devices/v20180122:Certificate" + }, + { + "type": "azurerm:devices/v20180401:Certificate" + }, + { + "type": "azurerm:devices/v20181201preview:Certificate" + }, + { + "type": "azurerm:devices/v20190322:Certificate" + }, + { + "type": "azurerm:devices/v20190322preview:Certificate" + }, + { + "type": "azurerm:devices/v20190701preview:Certificate" + }, + { + "type": "azurerm:devices/v20191104:Certificate" + }, + { + "type": "azurerm:devices/v20200401:Certificate" + }, + { + "type": "azurerm:devices/v20200615:Certificate" + }, + { + "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" + } + ] + }, + "azurerm:devices/v20200301:IotHubResource": { + "description": "The description of the IoT hub.", + "properties": { + "etag": { + "type": "string", + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse", + "description": "IotHub properties" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse", + "description": "IotHub SKU info" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "location", + "name", + "properties", + "sku", + "type" + ], + "inputProperties": { + "etag": { + "type": "string", + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:IotHubProperties", + "description": "IotHub properties" }, - "provisioningServiceName": { + "resourceGroupName": { "type": "string", - "description": "Name of provisioning service to create or update." + "description": "The name of the resource group that contains the IoT hub." }, - "resourceGroupName": { + "resourceName": { "type": "string", - "description": "Resource group identifier." + "description": "The name of the IoT hub." }, "sku": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfo", - "description": "Sku info for a provisioning Service." + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfo", + "description": "IotHub SKU info" }, "tags": { "type": "object", @@ -779397,27 +781052,225 @@ }, "requiredInputs": [ "location", - "properties", - "provisioningServiceName", "resourceGroupName", + "resourceName", "sku" ], "aliases": [ { - "type": "azurerm:devices/latest:IotDpsResource" + "type": "azurerm:devices/latest:IotHubResource" }, { - "type": "azurerm:devices/v20170821preview:IotDpsResource" + "type": "azurerm:devices/v20160203:IotHubResource" }, { - "type": "azurerm:devices/v20171115:IotDpsResource" + "type": "azurerm:devices/v20170119:IotHubResource" }, { - "type": "azurerm:devices/v20180122:IotDpsResource" + "type": "azurerm:devices/v20170701:IotHubResource" + }, + { + "type": "azurerm:devices/v20180122:IotHubResource" + }, + { + "type": "azurerm:devices/v20180401:IotHubResource" + }, + { + "type": "azurerm:devices/v20181201preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20190322:IotHubResource" + }, + { + "type": "azurerm:devices/v20190322preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20190701preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20191104:IotHubResource" + }, + { + "type": "azurerm:devices/v20200401:IotHubResource" + }, + { + "type": "azurerm:devices/v20200615:IotHubResource" + }, + { + "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, - "azurerm:devices/v20200301:Certificate": { + "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup": { + "description": "The properties of the EventHubConsumerGroupInfo object.", + "properties": { + "etag": { + "type": "string", + "description": "The etag." + }, + "name": { + "type": "string", + "description": "The Event Hub-compatible consumer group name." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The tags." + }, + "type": { + "type": "string", + "description": "the resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ], + "inputProperties": { + "eventHubEndpointName": { + "type": "string", + "description": "The name of the Event Hub-compatible endpoint in the IoT hub." + }, + "name": { + "type": "string", + "description": "The name of the consumer group to add." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "requiredInputs": [ + "eventHubEndpointName", + "name", + "resourceGroupName", + "resourceName" + ], + "aliases": [ + { + "type": "azurerm:devices/latest:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20160203:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20170119:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20170701:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20180122:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20180401:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20181201preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20190322:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20190322preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20190701preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" + } + ] + }, + "azurerm:devices/v20200301:PrivateEndpointConnection": { + "description": "The private endpoint connection of an IotHub", + "properties": { + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse", + "description": "The properties of a private endpoint connection" + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "name", + "properties", + "type" + ], + "inputProperties": { + "privateEndpointConnectionName": { + "type": "string", + "description": "The name of the private endpoint connection" + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "requiredInputs": [ + "privateEndpointConnectionName", + "properties", + "resourceGroupName", + "resourceName" + ], + "aliases": [ + { + "type": "azurerm:devices/latest:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200401:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200615:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200801:PrivateEndpointConnection" + } + ] + }, + "azurerm:devices/v20200401:Certificate": { "description": "The X509 Certificate.", "properties": { "etag": { @@ -779429,7 +781282,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -779496,17 +781349,20 @@ "type": "azurerm:devices/v20191104:Certificate" }, { - "type": "azurerm:devices/v20200401:Certificate" + "type": "azurerm:devices/v20200301:Certificate" }, { "type": "azurerm:devices/v20200615:Certificate" }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, - "azurerm:devices/v20200301:IotHubResource": { + "azurerm:devices/v20200401:IotHubResource": { "description": "The description of the IoT hub.", "properties": { "etag": { @@ -779522,11 +781378,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -779559,7 +781415,7 @@ "description": "The resource location." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubProperties", + "$ref": "#/types/azurerm:devices/v20200401:IotHubProperties", "description": "IotHub properties" }, "resourceGroupName": { @@ -779571,7 +781427,7 @@ "description": "The name of the IoT hub." }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfo", + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfo", "description": "IotHub SKU info" }, "tags": { @@ -779623,17 +781479,20 @@ "type": "azurerm:devices/v20191104:IotHubResource" }, { - "type": "azurerm:devices/v20200401:IotHubResource" + "type": "azurerm:devices/v20200301:IotHubResource" }, { "type": "azurerm:devices/v20200615:IotHubResource" }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, - "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup": { "description": "The properties of the EventHubConsumerGroupInfo object.", "properties": { "etag": { @@ -779722,17 +781581,20 @@ "type": "azurerm:devices/v20191104:IotHubResourceEventHubConsumerGroup" }, { - "type": "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" + "type": "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { "type": "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, - "azurerm:devices/v20200301:PrivateEndpointConnection": { + "azurerm:devices/v20200401:PrivateEndpointConnection": { "description": "The private endpoint connection of an IotHub", "properties": { "name": { @@ -779740,7 +781602,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -779760,7 +781622,7 @@ "description": "The name of the private endpoint connection" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionProperties", + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection" }, "resourceGroupName": { @@ -779783,17 +781645,20 @@ "type": "azurerm:devices/latest:PrivateEndpointConnection" }, { - "type": "azurerm:devices/v20200401:PrivateEndpointConnection" + "type": "azurerm:devices/v20200301:PrivateEndpointConnection" }, { "type": "azurerm:devices/v20200615:PrivateEndpointConnection" }, { "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200801:PrivateEndpointConnection" } ] }, - "azurerm:devices/v20200401:Certificate": { + "azurerm:devices/v20200615:Certificate": { "description": "The X509 Certificate.", "properties": { "etag": { @@ -779805,7 +781670,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -779821,14 +781686,14 @@ "type" ], "inputProperties": { - "certificate": { - "type": "string", - "description": "base-64 representation of the X509 leaf certificate .cer file or just .pem file content." - }, "certificateName": { "type": "string", "description": "The name of the certificate" }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200615:CertificateProperties", + "description": "The description of an X509 CA Certificate." + }, "resourceGroupName": { "type": "string", "description": "The name of the resource group that contains the IoT hub." @@ -779875,14 +781740,17 @@ "type": "azurerm:devices/v20200301:Certificate" }, { - "type": "azurerm:devices/v20200615:Certificate" + "type": "azurerm:devices/v20200401:Certificate" }, { "type": "azurerm:devices/v20200710preview:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, - "azurerm:devices/v20200401:IotHubResource": { + "azurerm:devices/v20200615:IotHubResource": { "description": "The description of the IoT hub.", "properties": { "etag": { @@ -779898,11 +781766,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -779935,7 +781803,7 @@ "description": "The resource location." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubProperties", + "$ref": "#/types/azurerm:devices/v20200615:IotHubProperties", "description": "IotHub properties" }, "resourceGroupName": { @@ -779947,7 +781815,7 @@ "description": "The name of the IoT hub." }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfo", + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfo", "description": "IotHub SKU info" }, "tags": { @@ -780002,14 +781870,17 @@ "type": "azurerm:devices/v20200301:IotHubResource" }, { - "type": "azurerm:devices/v20200615:IotHubResource" + "type": "azurerm:devices/v20200401:IotHubResource" }, { "type": "azurerm:devices/v20200710preview:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, - "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup": { "description": "The properties of the EventHubConsumerGroupInfo object.", "properties": { "etag": { @@ -780048,6 +781919,10 @@ "type": "string", "description": "The name of the consumer group to add." }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200615:EventHubConsumerGroupName", + "description": "The EventHub consumer group name." + }, "resourceGroupName": { "type": "string", "description": "The name of the resource group that contains the IoT hub." @@ -780101,14 +781976,17 @@ "type": "azurerm:devices/v20200301:IotHubResourceEventHubConsumerGroup" }, { - "type": "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" + "type": "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, - "azurerm:devices/v20200401:PrivateEndpointConnection": { + "azurerm:devices/v20200615:PrivateEndpointConnection": { "description": "The private endpoint connection of an IotHub", "properties": { "name": { @@ -780116,7 +781994,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -780136,7 +782014,7 @@ "description": "The name of the private endpoint connection" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionProperties", + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection" }, "resourceGroupName": { @@ -780162,14 +782040,17 @@ "type": "azurerm:devices/v20200301:PrivateEndpointConnection" }, { - "type": "azurerm:devices/v20200615:PrivateEndpointConnection" + "type": "azurerm:devices/v20200401:PrivateEndpointConnection" }, { "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200801:PrivateEndpointConnection" } ] }, - "azurerm:devices/v20200615:Certificate": { + "azurerm:devices/v20200710preview:Certificate": { "description": "The X509 Certificate.", "properties": { "etag": { @@ -780181,7 +782062,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -780202,7 +782083,7 @@ "description": "The name of the certificate" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificateProperties", + "$ref": "#/types/azurerm:devices/v20200710preview:CertificateProperties", "description": "The description of an X509 CA Certificate." }, "resourceGroupName": { @@ -780254,11 +782135,14 @@ "type": "azurerm:devices/v20200401:Certificate" }, { - "type": "azurerm:devices/v20200710preview:Certificate" + "type": "azurerm:devices/v20200615:Certificate" + }, + { + "type": "azurerm:devices/v20200801:Certificate" } ] }, - "azurerm:devices/v20200615:IotHubResource": { + "azurerm:devices/v20200710preview:IotHubResource": { "description": "The description of the IoT hub.", "properties": { "etag": { @@ -780274,11 +782158,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -780311,7 +782195,7 @@ "description": "The resource location." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubProperties", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubProperties", "description": "IotHub properties" }, "resourceGroupName": { @@ -780323,7 +782207,7 @@ "description": "The name of the IoT hub." }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfo", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfo", "description": "IotHub SKU info" }, "tags": { @@ -780381,11 +782265,14 @@ "type": "azurerm:devices/v20200401:IotHubResource" }, { - "type": "azurerm:devices/v20200710preview:IotHubResource" + "type": "azurerm:devices/v20200615:IotHubResource" + }, + { + "type": "azurerm:devices/v20200801:IotHubResource" } ] }, - "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup": { "description": "The properties of the EventHubConsumerGroupInfo object.", "properties": { "etag": { @@ -780425,7 +782312,7 @@ "description": "The name of the consumer group to add." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:EventHubConsumerGroupName", + "$ref": "#/types/azurerm:devices/v20200710preview:EventHubConsumerGroupName", "description": "The EventHub consumer group name." }, "resourceGroupName": { @@ -780484,11 +782371,14 @@ "type": "azurerm:devices/v20200401:IotHubResourceEventHubConsumerGroup" }, { - "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" + "type": "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup" } ] }, - "azurerm:devices/v20200615:PrivateEndpointConnection": { + "azurerm:devices/v20200710preview:PrivateEndpointConnection": { "description": "The private endpoint connection of an IotHub", "properties": { "name": { @@ -780496,7 +782386,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -780516,7 +782406,7 @@ "description": "The name of the private endpoint connection" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionProperties", + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection" }, "resourceGroupName": { @@ -780545,11 +782435,14 @@ "type": "azurerm:devices/v20200401:PrivateEndpointConnection" }, { - "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" + "type": "azurerm:devices/v20200615:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200801:PrivateEndpointConnection" } ] }, - "azurerm:devices/v20200710preview:Certificate": { + "azurerm:devices/v20200801:Certificate": { "description": "The X509 Certificate.", "properties": { "etag": { @@ -780561,7 +782454,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -780582,7 +782475,7 @@ "description": "The name of the certificate" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificateProperties", + "$ref": "#/types/azurerm:devices/v20200801:CertificateProperties", "description": "The description of an X509 CA Certificate." }, "resourceGroupName": { @@ -780635,10 +782528,13 @@ }, { "type": "azurerm:devices/v20200615:Certificate" + }, + { + "type": "azurerm:devices/v20200710preview:Certificate" } ] }, - "azurerm:devices/v20200710preview:IotHubResource": { + "azurerm:devices/v20200801:IotHubResource": { "description": "The description of the IoT hub.", "properties": { "etag": { @@ -780654,11 +782550,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -780691,7 +782587,7 @@ "description": "The resource location." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubProperties", + "$ref": "#/types/azurerm:devices/v20200801:IotHubProperties", "description": "IotHub properties" }, "resourceGroupName": { @@ -780703,7 +782599,7 @@ "description": "The name of the IoT hub." }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfo", + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfo", "description": "IotHub SKU info" }, "tags": { @@ -780762,10 +782658,13 @@ }, { "type": "azurerm:devices/v20200615:IotHubResource" + }, + { + "type": "azurerm:devices/v20200710preview:IotHubResource" } ] }, - "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200801:IotHubResourceEventHubConsumerGroup": { "description": "The properties of the EventHubConsumerGroupInfo object.", "properties": { "etag": { @@ -780805,7 +782704,7 @@ "description": "The name of the consumer group to add." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:EventHubConsumerGroupName", + "$ref": "#/types/azurerm:devices/v20200801:EventHubConsumerGroupName", "description": "The EventHub consumer group name." }, "resourceGroupName": { @@ -780865,10 +782764,13 @@ }, { "type": "azurerm:devices/v20200615:IotHubResourceEventHubConsumerGroup" + }, + { + "type": "azurerm:devices/v20200710preview:IotHubResourceEventHubConsumerGroup" } ] }, - "azurerm:devices/v20200710preview:PrivateEndpointConnection": { + "azurerm:devices/v20200801:PrivateEndpointConnection": { "description": "The private endpoint connection of an IotHub", "properties": { "name": { @@ -780876,7 +782778,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -780896,7 +782798,7 @@ "description": "The name of the private endpoint connection" }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionProperties", + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection" }, "resourceGroupName": { @@ -780926,6 +782828,9 @@ }, { "type": "azurerm:devices/v20200615:PrivateEndpointConnection" + }, + { + "type": "azurerm:devices/v20200710preview:PrivateEndpointConnection" } ] }, @@ -816144,6 +818049,7 @@ "dnsFqdn", "domainName", "errorDetails", + "extensions", "lastStatusChange", "location", "machineFqdn", @@ -816161,13 +818067,6 @@ "type": "string", "description": "Public Key that the client provides to be used during initial resource onboarding" }, - "extensions": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionInstanceView" - }, - "description": "Machine Extensions information" - }, "identity": { "$ref": "#/types/azurerm:hybridcompute/latest:MachineIdentity" }, @@ -816306,10 +818205,6 @@ "type": "string", "description": "How the extension handler should be forced to update even if the extension configuration has not changed." }, - "instanceView": { - "$ref": "#/types/azurerm:hybridcompute/latest:MachineExtensionPropertiesInstanceView", - "description": "The machine extension instance view." - }, "location": { "type": "string", "description": "The geo-location where the resource lives" @@ -817816,6 +819711,7 @@ "dnsFqdn", "domainName", "errorDetails", + "extensions", "lastStatusChange", "location", "machineFqdn", @@ -817833,13 +819729,6 @@ "type": "string", "description": "Public Key that the client provides to be used during initial resource onboarding" }, - "extensions": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionInstanceView" - }, - "description": "Machine Extensions information" - }, "identity": { "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineIdentity" }, @@ -817978,10 +819867,6 @@ "type": "string", "description": "How the extension handler should be forced to update even if the extension configuration has not changed." }, - "instanceView": { - "$ref": "#/types/azurerm:hybridcompute/v20200802:MachineExtensionPropertiesInstanceView", - "description": "The machine extension instance view." - }, "location": { "type": "string", "description": "The geo-location where the resource lives" @@ -1177922,7 +1179807,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "privateEndpointConnections": { "type": "array", @@ -1177933,7 +1179818,7 @@ }, "provisioningState": { "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." }, "publicNetworkAccess": { "type": "string", @@ -1177941,7 +1179826,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sharedPrivateLinkResources": { "type": "array", @@ -1177956,11 +1179841,11 @@ }, "status": { "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." }, "statusDetails": { "type": "string", - "description": "The details of the Search service status." + "description": "The details of the search service status." }, "tags": { "type": "object", @@ -1178004,7 +1179889,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "publicNetworkAccess": { "type": "string", @@ -1178012,7 +1179897,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "resourceGroupName": { "type": "string", @@ -1178738,7 +1180623,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "privateEndpointConnections": { "type": "array", @@ -1178749,7 +1180634,7 @@ }, "provisioningState": { "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." }, "publicNetworkAccess": { "type": "string", @@ -1178757,7 +1180642,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sharedPrivateLinkResources": { "type": "array", @@ -1178772,11 +1180657,11 @@ }, "status": { "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." }, "statusDetails": { "type": "string", - "description": "The details of the Search service status." + "description": "The details of the search service status." }, "tags": { "type": "object", @@ -1178820,7 +1180705,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "publicNetworkAccess": { "type": "string", @@ -1178828,7 +1180713,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "resourceGroupName": { "type": "string", @@ -1179012,7 +1180897,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "privateEndpointConnections": { "type": "array", @@ -1179023,7 +1180908,7 @@ }, "provisioningState": { "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." }, "publicNetworkAccess": { "type": "string", @@ -1179031,7 +1180916,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sharedPrivateLinkResources": { "type": "array", @@ -1179046,11 +1180931,11 @@ }, "status": { "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." }, "statusDetails": { "type": "string", - "description": "The details of the Search service status." + "description": "The details of the search service status." }, "tags": { "type": "object", @@ -1179094,7 +1180979,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "publicNetworkAccess": { "type": "string", @@ -1179102,7 +1180987,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "resourceGroupName": { "type": "string", @@ -1182868,6 +1184753,171 @@ "workspaceName" ] }, + "azurerm:securityinsights/v20190101preview:ThreatIntelligenceIndicator": { + "description": "Threat intelligence resource.", + "properties": { + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "kind": { + "type": "string", + "description": "The kind of the entity." + }, + "name": { + "type": "string", + "description": "Azure resource name" + }, + "type": { + "type": "string", + "description": "Azure resource type" + } + }, + "type": "object", + "required": [ + "kind", + "name", + "type" + ], + "inputProperties": { + "confidence": { + "type": "integer", + "description": "Confidence of threat intelligence entity" + }, + "created": { + "type": "string", + "description": "Created by" + }, + "createdByRef": { + "type": "string", + "description": "Created by reference of threat intelligence entity" + }, + "description": { + "type": "string", + "description": "Description of a threat intelligence entity" + }, + "displayName": { + "type": "string", + "description": "Display name of a threat intelligence entity" + }, + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "externalId": { + "type": "string", + "description": "External ID of threat intelligence entity" + }, + "externalReferences": { + "type": "array", + "items": { + "type": "string" + }, + "description": "External References" + }, + "granularMarkings": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:securityinsights/v20190101preview:ThreatIntelligenceGranularMarkingModel" + }, + "description": "Granular Markings" + }, + "indicatorTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Indicator types of threat intelligence entities" + }, + "killChainPhases": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:securityinsights/v20190101preview:ThreatIntelligenceKillChainPhase" + }, + "description": "Kill chain phases" + }, + "kind": { + "type": "string", + "description": "The kind of the entity." + }, + "labels": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Labels of threat intelligence entity" + }, + "lastUpdatedTimeUtc": { + "type": "string", + "description": "Last updated time in UTC" + }, + "modified": { + "type": "string", + "description": "Modified by" + }, + "name": { + "type": "string", + "description": "Threat Intelligence Identifier" + }, + "operationalInsightsResourceProvider": { + "type": "string", + "description": "The namespace of workspaces resource provider- Microsoft.OperationalInsights." + }, + "pattern": { + "type": "string", + "description": "Pattern of a threat intelligence entity" + }, + "patternType": { + "type": "string", + "description": "Pattern type of a threat intelligence entity" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive." + }, + "revoked": { + "type": "boolean", + "description": "Is threat intelligence entity revoked" + }, + "source": { + "type": "string", + "description": "Source of a threat intelligence entity" + }, + "threatIntelligenceTags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of tags" + }, + "threatTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Threat types" + }, + "validFrom": { + "type": "string", + "description": "Valid from" + }, + "validUntil": { + "type": "string", + "description": "Valid until" + }, + "workspaceName": { + "type": "string", + "description": "The name of the workspace." + } + }, + "requiredInputs": [ + "kind", + "name", + "operationalInsightsResourceProvider", + "resourceGroupName", + "workspaceName" + ] + }, "azurerm:securityinsights/v20190101preview:Watchlist": { "description": "Represents a Watchlist in Azure Security Insights.", "properties": { @@ -1224396,11 +1226446,11 @@ "properties": { "etag": { "type": "string", - "description": "Etag identifies change in the resource." + "description": "Resource Etag." }, "name": { "type": "string", - "description": "The resource name." + "description": "The name of the resource" }, "properties": { "$ref": "#/types/azurerm:synapse/v20190601preview:IntegrationRuntimeResponse", @@ -1224408,7 +1226458,7 @@ }, "type": { "type": "string", - "description": "The resource type." + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." } }, "type": "object", @@ -1363410,12 +1365460,365 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse", - "description": "The properties of an IoT hub." + "$ref": "#/types/azurerm:devices/v20180122:IotHubPropertiesResponse", + "description": "The properties of an IoT hub." + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse", + "description": "Information about the SKU of the IoT hub." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "location", + "name", + "properties", + "sku", + "type" + ] + } + }, + "azurerm:devices/v20180122:getIotHubResourceEventHubConsumerGroup": { + "inputs": { + "properties": { + "eventHubEndpointName": { + "type": "string", + "description": "The name of the Event Hub-compatible endpoint in the IoT hub." + }, + "name": { + "type": "string", + "description": "The name of the consumer group to retrieve." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "eventHubEndpointName", + "name", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The properties of the EventHubConsumerGroupInfo object.", + "properties": { + "etag": { + "type": "string", + "description": "The etag." + }, + "name": { + "type": "string", + "description": "The Event Hub-compatible consumer group name." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The tags." + }, + "type": { + "type": "string", + "description": "the resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ] + } + }, + "azurerm:devices/v20180122:listIotDpsResourceKeys": { + "inputs": { + "properties": { + "provisioningServiceName": { + "type": "string", + "description": "The provisioning service name to get the shared access keys for." + }, + "resourceGroupName": { + "type": "string", + "description": "resource group name" + } + }, + "type": "object", + "required": [ + "provisioningServiceName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "List of shared access keys.", + "properties": { + "nextLink": { + "type": "string", + "description": "The next link." + }, + "value": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" + }, + "description": "The list of shared access policies." + } + }, + "type": "object", + "required": [ + "nextLink" + ] + } + }, + "azurerm:devices/v20180122:listIotDpsResourceKeysForKeyName": { + "inputs": { + "properties": { + "keyName": { + "type": "string", + "description": "Logical key name to get key-values for." + }, + "provisioningServiceName": { + "type": "string", + "description": "Name of the provisioning service." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the provisioning service." + } + }, + "type": "object", + "required": [ + "keyName", + "provisioningServiceName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Description of the shared access key.", + "properties": { + "keyName": { + "type": "string", + "description": "Name of the key." + }, + "primaryKey": { + "type": "string", + "description": "Primary SAS key value." + }, + "rights": { + "type": "string", + "description": "Rights that this key has." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary SAS key value." + } + }, + "type": "object", + "required": [ + "keyName", + "rights" + ] + } + }, + "azurerm:devices/v20180122:listIotHubResourceKeys": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The list of shared access policies with a next link.", + "properties": { + "nextLink": { + "type": "string", + "description": "The next link." + }, + "value": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleResponse" + }, + "description": "The list of shared access policies." + } + }, + "type": "object", + "required": [ + "nextLink" + ] + } + }, + "azurerm:devices/v20180122:listIotHubResourceKeysForKeyName": { + "inputs": { + "properties": { + "keyName": { + "type": "string", + "description": "The name of the shared access policy." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "keyName", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The properties of an IoT hub shared access policy.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the shared access policy." + }, + "primaryKey": { + "type": "string", + "description": "The primary key." + }, + "rights": { + "type": "string", + "description": "The permissions assigned to the shared access policy." + }, + "secondaryKey": { + "type": "string", + "description": "The secondary key." + } + }, + "type": "object", + "required": [ + "keyName", + "rights" + ] + } + }, + "azurerm:devices/v20180401:getCertificate": { + "inputs": { + "properties": { + "certificateName": { + "type": "string", + "description": "The name of the certificate" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "certificateName", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The X509 Certificate.", + "properties": { + "etag": { + "type": "string", + "description": "The entity tag." + }, + "name": { + "type": "string", + "description": "The name of the certificate." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse", + "description": "The description of an X509 CA Certificate." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ] + } + }, + "azurerm:devices/v20180401:getIotHubResource": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The description of the IoT hub.", + "properties": { + "etag": { + "type": "string", + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse", + "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180122:IotHubSkuInfoResponse", - "description": "Information about the SKU of the IoT hub." + "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse", + "description": "IotHub SKU info" }, "tags": { "type": "object", @@ -1363439,7 +1365842,7 @@ ] } }, - "azurerm:devices/v20180122:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20180401:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1363499,26 +1365902,26 @@ ] } }, - "azurerm:devices/v20180122:listIotDpsResourceKeys": { + "azurerm:devices/v20180401:listIotHubResourceKeys": { "inputs": { "properties": { - "provisioningServiceName": { + "resourceGroupName": { "type": "string", - "description": "The provisioning service name to get the shared access keys for." + "description": "The name of the resource group that contains the IoT hub." }, - "resourceGroupName": { + "resourceName": { "type": "string", - "description": "resource group name" + "description": "The name of the IoT hub." } }, "type": "object", "required": [ - "provisioningServiceName", - "resourceGroupName" + "resourceGroupName", + "resourceName" ] }, "outputs": { - "description": "List of shared access keys.", + "description": "The list of shared access policies with a next link.", "properties": { "nextLink": { "type": "string", @@ -1363527,7 +1365930,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" + "$ref": "#/types/azurerm:devices/v20180401:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1363538,47 +1365941,47 @@ ] } }, - "azurerm:devices/v20180122:listIotDpsResourceKeysForKeyName": { + "azurerm:devices/v20180401:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { "type": "string", - "description": "Logical key name to get key-values for." + "description": "The name of the shared access policy." }, - "provisioningServiceName": { + "resourceGroupName": { "type": "string", - "description": "Name of the provisioning service." + "description": "The name of the resource group that contains the IoT hub." }, - "resourceGroupName": { + "resourceName": { "type": "string", - "description": "The name of the resource group that contains the provisioning service." + "description": "The name of the IoT hub." } }, "type": "object", "required": [ "keyName", - "provisioningServiceName", - "resourceGroupName" + "resourceGroupName", + "resourceName" ] }, "outputs": { - "description": "Description of the shared access key.", + "description": "The properties of an IoT hub shared access policy.", "properties": { "keyName": { "type": "string", - "description": "Name of the key." + "description": "The name of the shared access policy." }, "primaryKey": { "type": "string", - "description": "Primary SAS key value." + "description": "The primary key." }, "rights": { "type": "string", - "description": "Rights that this key has." + "description": "The permissions assigned to the shared access policy." }, "secondaryKey": { "type": "string", - "description": "Secondary SAS key value." + "description": "The secondary key." } }, "type": "object", @@ -1363588,7 +1365991,182 @@ ] } }, - "azurerm:devices/v20180122:listIotHubResourceKeys": { + "azurerm:devices/v20181201preview:getCertificate": { + "inputs": { + "properties": { + "certificateName": { + "type": "string", + "description": "The name of the certificate" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "certificateName", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The X509 Certificate.", + "properties": { + "etag": { + "type": "string", + "description": "The entity tag." + }, + "name": { + "type": "string", + "description": "The name of the certificate." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse", + "description": "The description of an X509 CA Certificate." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ] + } + }, + "azurerm:devices/v20181201preview:getIotHubResource": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The description of the IoT hub.", + "properties": { + "etag": { + "type": "string", + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse", + "description": "IotHub properties" + }, + "sku": { + "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse", + "description": "IotHub SKU info" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "location", + "name", + "properties", + "sku", + "type" + ] + } + }, + "azurerm:devices/v20181201preview:getIotHubResourceEventHubConsumerGroup": { + "inputs": { + "properties": { + "eventHubEndpointName": { + "type": "string", + "description": "The name of the Event Hub-compatible endpoint in the IoT hub." + }, + "name": { + "type": "string", + "description": "The name of the consumer group to retrieve." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "eventHubEndpointName", + "name", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The properties of the EventHubConsumerGroupInfo object.", + "properties": { + "etag": { + "type": "string", + "description": "The etag." + }, + "name": { + "type": "string", + "description": "The Event Hub-compatible consumer group name." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The tags." + }, + "type": { + "type": "string", + "description": "the resource type." + } + }, + "type": "object", + "required": [ + "etag", + "name", + "properties", + "type" + ] + } + }, + "azurerm:devices/v20181201preview:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1363616,7 +1366194,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20180122:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20181201preview:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1363627,7 +1366205,7 @@ ] } }, - "azurerm:devices/v20180122:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20181201preview:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1363677,7 +1366255,7 @@ ] } }, - "azurerm:devices/v20180401:getCertificate": { + "azurerm:devices/v20190322:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1363712,7 +1366290,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1363729,7 +1366307,7 @@ ] } }, - "azurerm:devices/v20180401:getIotHubResource": { + "azurerm:devices/v20190322:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1363763,11 +1366341,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20180401:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1363792,7 +1366370,7 @@ ] } }, - "azurerm:devices/v20180401:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20190322:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1363852,7 +1366430,7 @@ ] } }, - "azurerm:devices/v20180401:listIotHubResourceKeys": { + "azurerm:devices/v20190322:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1363880,7 +1366458,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20180401:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190322:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1363891,7 +1366469,7 @@ ] } }, - "azurerm:devices/v20180401:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20190322:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1363941,7 +1366519,7 @@ ] } }, - "azurerm:devices/v20181201preview:getCertificate": { + "azurerm:devices/v20190322preview:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1363976,7 +1366554,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1363993,7 +1366571,7 @@ ] } }, - "azurerm:devices/v20181201preview:getIotHubResource": { + "azurerm:devices/v20190322preview:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1364027,11 +1366605,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20181201preview:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1364056,7 +1366634,7 @@ ] } }, - "azurerm:devices/v20181201preview:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20190322preview:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1364116,7 +1366694,7 @@ ] } }, - "azurerm:devices/v20181201preview:listIotHubResourceKeys": { + "azurerm:devices/v20190322preview:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1364144,7 +1366722,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20181201preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190322preview:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1364155,7 +1366733,7 @@ ] } }, - "azurerm:devices/v20181201preview:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20190322preview:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1364205,7 +1366783,7 @@ ] } }, - "azurerm:devices/v20190322:getCertificate": { + "azurerm:devices/v20190701preview:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1364240,7 +1366818,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1364257,7 +1366835,7 @@ ] } }, - "azurerm:devices/v20190322:getIotHubResource": { + "azurerm:devices/v20190701preview:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1364291,11 +1366869,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1364320,7 +1366898,7 @@ ] } }, - "azurerm:devices/v20190322:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20190701preview:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1364380,7 +1366958,7 @@ ] } }, - "azurerm:devices/v20190322:listIotHubResourceKeys": { + "azurerm:devices/v20190701preview:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1364408,7 +1366986,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20190322:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20190701preview:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1364419,7 +1366997,7 @@ ] } }, - "azurerm:devices/v20190322:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20190701preview:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1364469,7 +1367047,7 @@ ] } }, - "azurerm:devices/v20190322preview:getCertificate": { + "azurerm:devices/v20191104:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1364504,7 +1367082,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1364521,7 +1367099,7 @@ ] } }, - "azurerm:devices/v20190322preview:getIotHubResource": { + "azurerm:devices/v20191104:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1364555,11 +1367133,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190322preview:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1364584,7 +1367162,7 @@ ] } }, - "azurerm:devices/v20190322preview:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20191104:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1364644,7 +1367222,7 @@ ] } }, - "azurerm:devices/v20190322preview:listIotHubResourceKeys": { + "azurerm:devices/v20191104:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1364672,7 +1367250,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20190322preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20191104:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1364683,7 +1367261,7 @@ ] } }, - "azurerm:devices/v20190322preview:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20191104:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1364733,27 +1367311,27 @@ ] } }, - "azurerm:devices/v20190701preview:getCertificate": { + "azurerm:devices/v20200101:getDpsCertificate": { "inputs": { "properties": { "certificateName": { "type": "string", - "description": "The name of the certificate" + "description": "Name of the certificate to retrieve." }, - "resourceGroupName": { + "provisioningServiceName": { "type": "string", - "description": "The name of the resource group that contains the IoT hub." + "description": "Name of the provisioning service the certificate is associated with." }, - "resourceName": { + "resourceGroupName": { "type": "string", - "description": "The name of the IoT hub." + "description": "Resource group identifier." } }, "type": "object", "required": [ "certificateName", - "resourceGroupName", - "resourceName" + "provisioningServiceName", + "resourceGroupName" ] }, "outputs": { @@ -1364768,8 +1367346,8 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:CertificatePropertiesResponse", - "description": "The description of an X509 CA Certificate." + "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse", + "description": "properties of a certificate" }, "type": { "type": "string", @@ -1364785,26 +1367363,26 @@ ] } }, - "azurerm:devices/v20190701preview:getIotHubResource": { + "azurerm:devices/v20200101:getIotDpsResource": { "inputs": { "properties": { - "resourceGroupName": { + "provisioningServiceName": { "type": "string", - "description": "The name of the resource group that contains the IoT hub." + "description": "Name of the provisioning service to retrieve." }, - "resourceName": { + "resourceGroupName": { "type": "string", - "description": "The name of the IoT hub." + "description": "Resource group name." } }, "type": "object", "required": [ - "resourceGroupName", - "resourceName" + "provisioningServiceName", + "resourceGroupName" ] }, "outputs": { - "description": "The description of the IoT hub.", + "description": "The description of the provisioning service.", "properties": { "etag": { "type": "string", @@ -1364819,12 +1367397,12 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubPropertiesResponse", - "description": "IotHub properties" + "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse", + "description": "Service specific properties for a provisioning service" }, "sku": { - "$ref": "#/types/azurerm:devices/v20190701preview:IotHubSkuInfoResponse", - "description": "IotHub SKU info" + "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse", + "description": "Sku info for a provisioning Service." }, "tags": { "type": "object", @@ -1364848,86 +1367426,26 @@ ] } }, - "azurerm:devices/v20190701preview:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200101:listIotDpsResourceKeys": { "inputs": { "properties": { - "eventHubEndpointName": { - "type": "string", - "description": "The name of the Event Hub-compatible endpoint in the IoT hub." - }, - "name": { - "type": "string", - "description": "The name of the consumer group to retrieve." - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group that contains the IoT hub." - }, - "resourceName": { - "type": "string", - "description": "The name of the IoT hub." - } - }, - "type": "object", - "required": [ - "eventHubEndpointName", - "name", - "resourceGroupName", - "resourceName" - ] - }, - "outputs": { - "description": "The properties of the EventHubConsumerGroupInfo object.", - "properties": { - "etag": { - "type": "string", - "description": "The etag." - }, - "name": { + "provisioningServiceName": { "type": "string", - "description": "The Event Hub-compatible consumer group name." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The tags." + "description": "The provisioning service name to get the shared access keys for." }, - "type": { - "type": "string", - "description": "the resource type." - } - }, - "type": "object", - "required": [ - "etag", - "name", - "properties", - "type" - ] - } - }, - "azurerm:devices/v20190701preview:listIotHubResourceKeys": { - "inputs": { - "properties": { "resourceGroupName": { "type": "string", - "description": "The name of the resource group that contains the IoT hub." - }, - "resourceName": { - "type": "string", - "description": "The name of the IoT hub." + "description": "resource group name" } }, "type": "object", "required": [ - "resourceGroupName", - "resourceName" + "provisioningServiceName", + "resourceGroupName" ] }, "outputs": { - "description": "The list of shared access policies with a next link.", + "description": "List of shared access keys.", "properties": { "nextLink": { "type": "string", @@ -1364936,7 +1367454,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20190701preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200101:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" }, "description": "The list of shared access policies." } @@ -1364947,47 +1367465,47 @@ ] } }, - "azurerm:devices/v20190701preview:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200101:listIotDpsResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "Logical key name to get key-values for." }, - "resourceGroupName": { + "provisioningServiceName": { "type": "string", - "description": "The name of the resource group that contains the IoT hub." + "description": "Name of the provisioning service." }, - "resourceName": { + "resourceGroupName": { "type": "string", - "description": "The name of the IoT hub." + "description": "The name of the resource group that contains the provisioning service." } }, "type": "object", "required": [ "keyName", - "resourceGroupName", - "resourceName" + "provisioningServiceName", + "resourceGroupName" ] }, "outputs": { - "description": "The properties of an IoT hub shared access policy.", + "description": "Description of the shared access key.", "properties": { "keyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "Name of the key." }, "primaryKey": { "type": "string", - "description": "The primary key." + "description": "Primary SAS key value." }, "rights": { "type": "string", - "description": "The permissions assigned to the shared access policy." + "description": "Rights that this key has." }, "secondaryKey": { "type": "string", - "description": "The secondary key." + "description": "Secondary SAS key value." } }, "type": "object", @@ -1364997,7 +1367515,7 @@ ] } }, - "azurerm:devices/v20191104:getCertificate": { + "azurerm:devices/v20200301:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1365032,7 +1367550,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1365049,7 +1367567,7 @@ ] } }, - "azurerm:devices/v20191104:getIotHubResource": { + "azurerm:devices/v20200301:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1365083,11 +1367601,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20191104:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1365112,7 +1367630,7 @@ ] } }, - "azurerm:devices/v20191104:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200301:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1365172,7 +1367690,54 @@ ] } }, - "azurerm:devices/v20191104:listIotHubResourceKeys": { + "azurerm:devices/v20200301:getPrivateEndpointConnection": { + "inputs": { + "properties": { + "privateEndpointConnectionName": { + "type": "string", + "description": "The name of the private endpoint connection" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group that contains the IoT hub." + }, + "resourceName": { + "type": "string", + "description": "The name of the IoT hub." + } + }, + "type": "object", + "required": [ + "privateEndpointConnectionName", + "resourceGroupName", + "resourceName" + ] + }, + "outputs": { + "description": "The private endpoint connection of an IotHub", + "properties": { + "name": { + "type": "string", + "description": "The resource name." + }, + "properties": { + "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse", + "description": "The properties of a private endpoint connection" + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "type": "object", + "required": [ + "name", + "properties", + "type" + ] + } + }, + "azurerm:devices/v20200301:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1365200,7 +1367765,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20191104:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200301:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1365211,7 +1367776,7 @@ ] } }, - "azurerm:devices/v20191104:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200301:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1365261,211 +1367826,7 @@ ] } }, - "azurerm:devices/v20200101:getDpsCertificate": { - "inputs": { - "properties": { - "certificateName": { - "type": "string", - "description": "Name of the certificate to retrieve." - }, - "provisioningServiceName": { - "type": "string", - "description": "Name of the provisioning service the certificate is associated with." - }, - "resourceGroupName": { - "type": "string", - "description": "Resource group identifier." - } - }, - "type": "object", - "required": [ - "certificateName", - "provisioningServiceName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The X509 Certificate.", - "properties": { - "etag": { - "type": "string", - "description": "The entity tag." - }, - "name": { - "type": "string", - "description": "The name of the certificate." - }, - "properties": { - "$ref": "#/types/azurerm:devices/v20200101:CertificatePropertiesResponse", - "description": "properties of a certificate" - }, - "type": { - "type": "string", - "description": "The resource type." - } - }, - "type": "object", - "required": [ - "etag", - "name", - "properties", - "type" - ] - } - }, - "azurerm:devices/v20200101:getIotDpsResource": { - "inputs": { - "properties": { - "provisioningServiceName": { - "type": "string", - "description": "Name of the provisioning service to retrieve." - }, - "resourceGroupName": { - "type": "string", - "description": "Resource group name." - } - }, - "type": "object", - "required": [ - "provisioningServiceName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The description of the provisioning service.", - "properties": { - "etag": { - "type": "string", - "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." - }, - "location": { - "type": "string", - "description": "The resource location." - }, - "name": { - "type": "string", - "description": "The resource name." - }, - "properties": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsPropertiesDescriptionResponse", - "description": "Service specific properties for a provisioning service" - }, - "sku": { - "$ref": "#/types/azurerm:devices/v20200101:IotDpsSkuInfoResponse", - "description": "Sku info for a provisioning Service." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The resource tags." - }, - "type": { - "type": "string", - "description": "The resource type." - } - }, - "type": "object", - "required": [ - "location", - "name", - "properties", - "sku", - "type" - ] - } - }, - "azurerm:devices/v20200101:listIotDpsResourceKeys": { - "inputs": { - "properties": { - "provisioningServiceName": { - "type": "string", - "description": "The provisioning service name to get the shared access keys for." - }, - "resourceGroupName": { - "type": "string", - "description": "resource group name" - } - }, - "type": "object", - "required": [ - "provisioningServiceName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "List of shared access keys.", - "properties": { - "nextLink": { - "type": "string", - "description": "The next link." - }, - "value": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:devices/v20200101:SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse" - }, - "description": "The list of shared access policies." - } - }, - "type": "object", - "required": [ - "nextLink" - ] - } - }, - "azurerm:devices/v20200101:listIotDpsResourceKeysForKeyName": { - "inputs": { - "properties": { - "keyName": { - "type": "string", - "description": "Logical key name to get key-values for." - }, - "provisioningServiceName": { - "type": "string", - "description": "Name of the provisioning service." - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group that contains the provisioning service." - } - }, - "type": "object", - "required": [ - "keyName", - "provisioningServiceName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "Description of the shared access key.", - "properties": { - "keyName": { - "type": "string", - "description": "Name of the key." - }, - "primaryKey": { - "type": "string", - "description": "Primary SAS key value." - }, - "rights": { - "type": "string", - "description": "Rights that this key has." - }, - "secondaryKey": { - "type": "string", - "description": "Secondary SAS key value." - } - }, - "type": "object", - "required": [ - "keyName", - "rights" - ] - } - }, - "azurerm:devices/v20200301:getCertificate": { + "azurerm:devices/v20200401:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1365500,7 +1367861,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1365517,7 +1367878,7 @@ ] } }, - "azurerm:devices/v20200301:getIotHubResource": { + "azurerm:devices/v20200401:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1365551,11 +1367912,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200301:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1365580,7 +1367941,7 @@ ] } }, - "azurerm:devices/v20200301:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200401:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1365640,7 +1368001,7 @@ ] } }, - "azurerm:devices/v20200301:getPrivateEndpointConnection": { + "azurerm:devices/v20200401:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1365671,7 +1368032,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200301:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -1365687,7 +1368048,7 @@ ] } }, - "azurerm:devices/v20200301:listIotHubResourceKeys": { + "azurerm:devices/v20200401:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1365715,7 +1368076,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20200301:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200401:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1365726,7 +1368087,7 @@ ] } }, - "azurerm:devices/v20200301:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200401:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1365776,7 +1368137,7 @@ ] } }, - "azurerm:devices/v20200401:getCertificate": { + "azurerm:devices/v20200615:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1365811,7 +1368172,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1365828,7 +1368189,7 @@ ] } }, - "azurerm:devices/v20200401:getIotHubResource": { + "azurerm:devices/v20200615:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1365862,11 +1368223,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200401:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1365891,7 +1368252,7 @@ ] } }, - "azurerm:devices/v20200401:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200615:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1365951,7 +1368312,7 @@ ] } }, - "azurerm:devices/v20200401:getPrivateEndpointConnection": { + "azurerm:devices/v20200615:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1365982,7 +1368343,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200401:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -1365998,7 +1368359,7 @@ ] } }, - "azurerm:devices/v20200401:listIotHubResourceKeys": { + "azurerm:devices/v20200615:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1366026,7 +1368387,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20200401:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200615:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1366037,7 +1368398,7 @@ ] } }, - "azurerm:devices/v20200401:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200615:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1366087,7 +1368448,7 @@ ] } }, - "azurerm:devices/v20200615:getCertificate": { + "azurerm:devices/v20200710preview:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1366122,7 +1368483,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1366139,7 +1368500,7 @@ ] } }, - "azurerm:devices/v20200615:getIotHubResource": { + "azurerm:devices/v20200710preview:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1366173,11 +1368534,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200615:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1366202,7 +1368563,7 @@ ] } }, - "azurerm:devices/v20200615:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200710preview:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1366262,7 +1368623,7 @@ ] } }, - "azurerm:devices/v20200615:getPrivateEndpointConnection": { + "azurerm:devices/v20200710preview:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1366293,7 +1368654,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200615:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -1366309,7 +1368670,7 @@ ] } }, - "azurerm:devices/v20200615:listIotHubResourceKeys": { + "azurerm:devices/v20200710preview:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1366337,7 +1368698,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20200615:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200710preview:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1366348,7 +1368709,7 @@ ] } }, - "azurerm:devices/v20200615:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200710preview:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1366398,7 +1368759,7 @@ ] } }, - "azurerm:devices/v20200710preview:getCertificate": { + "azurerm:devices/v20200801:getCertificate": { "inputs": { "properties": { "certificateName": { @@ -1366433,7 +1368794,7 @@ "description": "The name of the certificate." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:CertificatePropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:CertificatePropertiesResponse", "description": "The description of an X509 CA Certificate." }, "type": { @@ -1366450,7 +1368811,7 @@ ] } }, - "azurerm:devices/v20200710preview:getIotHubResource": { + "azurerm:devices/v20200801:getIotHubResource": { "inputs": { "properties": { "resourceGroupName": { @@ -1366484,11 +1368845,11 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:IotHubPropertiesResponse", "description": "IotHub properties" }, "sku": { - "$ref": "#/types/azurerm:devices/v20200710preview:IotHubSkuInfoResponse", + "$ref": "#/types/azurerm:devices/v20200801:IotHubSkuInfoResponse", "description": "IotHub SKU info" }, "tags": { @@ -1366513,7 +1368874,7 @@ ] } }, - "azurerm:devices/v20200710preview:getIotHubResourceEventHubConsumerGroup": { + "azurerm:devices/v20200801:getIotHubResourceEventHubConsumerGroup": { "inputs": { "properties": { "eventHubEndpointName": { @@ -1366573,7 +1368934,7 @@ ] } }, - "azurerm:devices/v20200710preview:getPrivateEndpointConnection": { + "azurerm:devices/v20200801:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1366604,7 +1368965,7 @@ "description": "The resource name." }, "properties": { - "$ref": "#/types/azurerm:devices/v20200710preview:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:devices/v20200801:PrivateEndpointConnectionPropertiesResponse", "description": "The properties of a private endpoint connection" }, "type": { @@ -1366620,7 +1368981,7 @@ ] } }, - "azurerm:devices/v20200710preview:listIotHubResourceKeys": { + "azurerm:devices/v20200801:listIotHubResourceKeys": { "inputs": { "properties": { "resourceGroupName": { @@ -1366648,7 +1369009,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:devices/v20200710preview:SharedAccessSignatureAuthorizationRuleResponse" + "$ref": "#/types/azurerm:devices/v20200801:SharedAccessSignatureAuthorizationRuleResponse" }, "description": "The list of shared access policies." } @@ -1366659,7 +1369020,7 @@ ] } }, - "azurerm:devices/v20200710preview:listIotHubResourceKeysForKeyName": { + "azurerm:devices/v20200801:listIotHubResourceKeysForKeyName": { "inputs": { "properties": { "keyName": { @@ -1394220,6 +1396581,7 @@ "dnsFqdn", "domainName", "errorDetails", + "extensions", "lastStatusChange", "location", "machineFqdn", @@ -1395394,6 +1397756,7 @@ "dnsFqdn", "domainName", "errorDetails", + "extensions", "lastStatusChange", "location", "machineFqdn", @@ -1585455,333 +1587818,136 @@ "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." }, "identity": { - "$ref": "#/types/azurerm:search/latest:IdentityResponse", - "description": "The identity of the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "networkRuleSet": { - "$ref": "#/types/azurerm:search/latest:NetworkRuleSetResponse", - "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." - }, - "partitionCount": { - "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." - }, - "privateEndpointConnections": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:search/latest:PrivateEndpointConnectionResponse" - }, - "description": "The list of private endpoint connections to the Azure Cognitive Search service." - }, - "provisioningState": { - "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." - }, - "publicNetworkAccess": { - "type": "string", - "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." - }, - "replicaCount": { - "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." - }, - "sharedPrivateLinkResources": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:search/latest:SharedPrivateLinkResourceResponse" - }, - "description": "The list of shared private link resources managed by the Azure Cognitive Search service." - }, - "sku": { - "$ref": "#/types/azurerm:search/latest:SkuResponse", - "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." - }, - "status": { - "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." - }, - "statusDetails": { - "type": "string", - "description": "The details of the Search service status." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "type": { - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } - }, - "type": "object", - "required": [ - "location", - "name", - "privateEndpointConnections", - "provisioningState", - "sharedPrivateLinkResources", - "status", - "statusDetails", - "type" - ] - } - }, - "azurerm:search/latest:getSharedPrivateLinkResource": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." - }, - "searchServiceName": { - "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." - }, - "sharedPrivateLinkResourceName": { - "type": "string", - "description": "The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "searchServiceName", - "sharedPrivateLinkResourceName" - ] - }, - "outputs": { - "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "properties": { - "$ref": "#/types/azurerm:search/latest:SharedPrivateLinkResourcePropertiesResponse", - "description": "Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service." - }, - "type": { - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } - }, - "type": "object", - "required": [ - "name", - "properties", - "type" - ] - } - }, - "azurerm:search/latest:listAdminKey": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." - }, - "searchServiceName": { - "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "searchServiceName" - ] - }, - "outputs": { - "description": "Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.", - "properties": { - "primaryKey": { - "type": "string", - "description": "The primary admin API key of the Search service." - }, - "secondaryKey": { - "type": "string", - "description": "The secondary admin API key of the Search service." - } - }, - "type": "object", - "required": [ - "primaryKey", - "secondaryKey" - ] - } - }, - "azurerm:search/latest:listQueryKeyBySearchService": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." - }, - "searchServiceName": { - "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "searchServiceName" - ] - }, - "outputs": { - "description": "Response containing the query API keys for a given Azure Cognitive Search service.", - "properties": { - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size." - }, - "value": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:search/latest:QueryKeyResponse" - }, - "description": "The query keys for the Azure Cognitive Search service." - } - }, - "type": "object", - "required": [ - "nextLink", - "value" - ] - } - }, - "azurerm:search/v20150228:listAdminKey": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription." - }, - "serviceName": { - "type": "string", - "description": "The name of the Search service for which to list admin keys." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "serviceName" - ] - }, - "outputs": { - "description": "Response containing the primary and secondary API keys for a given Azure Search service.", - "properties": { - "primaryKey": { - "type": "string", - "description": "The primary API key of the Search service." - }, - "secondaryKey": { - "type": "string", - "description": "The secondary API key of the Search service." - } - }, - "type": "object", - "required": [ - "primaryKey", - "secondaryKey" - ] - } - }, - "azurerm:search/v20150819:getService": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." - }, - "searchServiceName": { - "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "searchServiceName" - ] - }, - "outputs": { - "description": "Describes an Azure Cognitive Search service and its current state.", - "properties": { - "hostingMode": { - "type": "string", - "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." - }, - "identity": { - "$ref": "#/types/azurerm:search/v20150819:IdentityResponse", + "$ref": "#/types/azurerm:search/latest:IdentityResponse", "description": "The identity of the resource." }, "location": { "type": "string", - "description": "The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property is required when creating a new resource." + "description": "The geo-location where the resource lives" }, "name": { "type": "string", - "description": "The name of the resource." + "description": "The name of the resource" + }, + "networkRuleSet": { + "$ref": "#/types/azurerm:search/latest:NetworkRuleSetResponse", + "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:search/latest:PrivateEndpointConnectionResponse" + }, + "description": "The list of private endpoint connections to the Azure Cognitive Search service." }, "provisioningState": { "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." + }, + "publicNetworkAccess": { + "type": "string", + "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:search/latest:SharedPrivateLinkResourceResponse" + }, + "description": "The list of shared private link resources managed by the Azure Cognitive Search service." }, "sku": { - "$ref": "#/types/azurerm:search/v20150819:SkuResponse", + "$ref": "#/types/azurerm:search/latest:SkuResponse", "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." }, "status": { "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." }, "statusDetails": { "type": "string", - "description": "The details of the Search service status." + "description": "The details of the search service status." }, "tags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Tags to help categorize the resource in the Azure portal." + "description": "Resource tags." }, "type": { "type": "string", - "description": "The resource type." + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." } }, "type": "object", "required": [ + "location", "name", + "privateEndpointConnections", "provisioningState", + "sharedPrivateLinkResources", "status", "statusDetails", "type" ] } }, - "azurerm:search/v20150819:listAdminKey": { + "azurerm:search/latest:getSharedPrivateLinkResource": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + }, + "sharedPrivateLinkResourceName": { + "type": "string", + "description": "The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "searchServiceName", + "sharedPrivateLinkResourceName" + ] + }, + "outputs": { + "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource" + }, + "properties": { + "$ref": "#/types/azurerm:search/latest:SharedPrivateLinkResourcePropertiesResponse", + "description": "Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service." + }, + "type": { + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } + }, + "type": "object", + "required": [ + "name", + "properties", + "type" + ] + } + }, + "azurerm:search/latest:listAdminKey": { "inputs": { "properties": { "resourceGroupName": { @@ -1585804,11 +1587970,11 @@ "properties": { "primaryKey": { "type": "string", - "description": "The primary admin API key of the Search service." + "description": "The primary admin API key of the search service." }, "secondaryKey": { "type": "string", - "description": "The secondary admin API key of the Search service." + "description": "The secondary admin API key of the search service." } }, "type": "object", @@ -1585818,7 +1587984,7 @@ ] } }, - "azurerm:search/v20150819:listQueryKeyBySearchService": { + "azurerm:search/latest:listQueryKeyBySearchService": { "inputs": { "properties": { "resourceGroupName": { @@ -1585839,68 +1588005,63 @@ "outputs": { "description": "Response containing the query API keys for a given Azure Cognitive Search service.", "properties": { + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size." + }, "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:search/v20150819:QueryKeyResponse" + "$ref": "#/types/azurerm:search/latest:QueryKeyResponse" }, "description": "The query keys for the Azure Cognitive Search service." } }, "type": "object", "required": [ + "nextLink", "value" ] } }, - "azurerm:search/v20191001preview:getPrivateEndpointConnection": { + "azurerm:search/v20150228:listAdminKey": { "inputs": { "properties": { - "privateEndpointConnectionName": { - "type": "string", - "description": "The name of the private endpoint connection to the Azure Cognitive Search service with the specified resource group." - }, "resourceGroupName": { "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + "description": "The name of the resource group within the current subscription." }, - "searchServiceName": { + "serviceName": { "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + "description": "The name of the Search service for which to list admin keys." } }, "type": "object", "required": [ - "privateEndpointConnectionName", "resourceGroupName", - "searchServiceName" + "serviceName" ] }, "outputs": { - "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service.", + "description": "Response containing the primary and secondary API keys for a given Azure Search service.", "properties": { - "name": { + "primaryKey": { "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "$ref": "#/types/azurerm:search/v20191001preview:PrivateEndpointConnectionPropertiesResponse", - "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service." + "description": "The primary API key of the Search service." }, - "type": { + "secondaryKey": { "type": "string", - "description": "The resource type." + "description": "The secondary API key of the Search service." } }, "type": "object", "required": [ - "name", - "properties", - "type" + "primaryKey", + "secondaryKey" ] } }, - "azurerm:search/v20191001preview:getService": { + "azurerm:search/v20150819:getService": { "inputs": { "properties": { "resourceGroupName": { @@ -1585926,7 +1588087,7 @@ "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." }, "identity": { - "$ref": "#/types/azurerm:search/v20191001preview:IdentityResponse", + "$ref": "#/types/azurerm:search/v20150819:IdentityResponse", "description": "The identity of the resource." }, "location": { @@ -1585937,21 +1588098,10 @@ "type": "string", "description": "The name of the resource." }, - "networkRuleSet": { - "$ref": "#/types/azurerm:search/v20191001preview:NetworkRuleSetResponse", - "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." - }, "partitionCount": { "type": "integer", "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, - "privateEndpointConnections": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:search/v20191001preview:PrivateEndpointConnectionResponse" - }, - "description": "The list of private endpoint connections to the Azure Cognitive Search service." - }, "provisioningState": { "type": "string", "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." @@ -1585961,7 +1588111,7 @@ "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sku": { - "$ref": "#/types/azurerm:search/v20191001preview:SkuResponse", + "$ref": "#/types/azurerm:search/v20150819:SkuResponse", "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." }, "status": { @@ -1585987,7 +1588137,6 @@ "type": "object", "required": [ "name", - "privateEndpointConnections", "provisioningState", "status", "statusDetails", @@ -1585995,7 +1588144,7 @@ ] } }, - "azurerm:search/v20191001preview:listAdminKey": { + "azurerm:search/v20150819:listAdminKey": { "inputs": { "properties": { "resourceGroupName": { @@ -1586032,7 +1588181,7 @@ ] } }, - "azurerm:search/v20191001preview:listQueryKeyBySearchService": { + "azurerm:search/v20150819:listQueryKeyBySearchService": { "inputs": { "properties": { "resourceGroupName": { @@ -1586056,7 +1588205,7 @@ "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:search/v20191001preview:QueryKeyResponse" + "$ref": "#/types/azurerm:search/v20150819:QueryKeyResponse" }, "description": "The query keys for the Azure Cognitive Search service." } @@ -1586067,7 +1588216,7 @@ ] } }, - "azurerm:search/v20200313:getPrivateEndpointConnection": { + "azurerm:search/v20191001preview:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1586098,7 +1588247,7 @@ "description": "The name of the private endpoint connection." }, "properties": { - "$ref": "#/types/azurerm:search/v20200313:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:search/v20191001preview:PrivateEndpointConnectionPropertiesResponse", "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service." }, "type": { @@ -1586114,7 +1588263,7 @@ ] } }, - "azurerm:search/v20200313:getService": { + "azurerm:search/v20191001preview:getService": { "inputs": { "properties": { "resourceGroupName": { @@ -1586140,7 +1588289,7 @@ "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." }, "identity": { - "$ref": "#/types/azurerm:search/v20200313:IdentityResponse", + "$ref": "#/types/azurerm:search/v20191001preview:IdentityResponse", "description": "The identity of the resource." }, "location": { @@ -1586152,7 +1588301,7 @@ "description": "The name of the resource." }, "networkRuleSet": { - "$ref": "#/types/azurerm:search/v20200313:NetworkRuleSetResponse", + "$ref": "#/types/azurerm:search/v20191001preview:NetworkRuleSetResponse", "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." }, "partitionCount": { @@ -1586162,7 +1588311,7 @@ "privateEndpointConnections": { "type": "array", "items": { - "$ref": "#/types/azurerm:search/v20200313:PrivateEndpointConnectionResponse" + "$ref": "#/types/azurerm:search/v20191001preview:PrivateEndpointConnectionResponse" }, "description": "The list of private endpoint connections to the Azure Cognitive Search service." }, @@ -1586170,16 +1588319,12 @@ "type": "string", "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." }, - "publicNetworkAccess": { - "type": "string", - "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." - }, "replicaCount": { "type": "integer", "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sku": { - "$ref": "#/types/azurerm:search/v20200313:SkuResponse", + "$ref": "#/types/azurerm:search/v20191001preview:SkuResponse", "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." }, "status": { @@ -1586213,7 +1588358,7 @@ ] } }, - "azurerm:search/v20200313:listAdminKey": { + "azurerm:search/v20191001preview:listAdminKey": { "inputs": { "properties": { "resourceGroupName": { @@ -1586250,7 +1588395,7 @@ ] } }, - "azurerm:search/v20200313:listQueryKeyBySearchService": { + "azurerm:search/v20191001preview:listQueryKeyBySearchService": { "inputs": { "properties": { "resourceGroupName": { @@ -1586271,26 +1588416,21 @@ "outputs": { "description": "Response containing the query API keys for a given Azure Cognitive Search service.", "properties": { - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size." - }, "value": { "type": "array", "items": { - "$ref": "#/types/azurerm:search/v20200313:QueryKeyResponse" + "$ref": "#/types/azurerm:search/v20191001preview:QueryKeyResponse" }, "description": "The query keys for the Azure Cognitive Search service." } }, "type": "object", "required": [ - "nextLink", "value" ] } }, - "azurerm:search/v20200801:getPrivateEndpointConnection": { + "azurerm:search/v20200313:getPrivateEndpointConnection": { "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1586318,15 +1588458,15 @@ "properties": { "name": { "type": "string", - "description": "The name of the resource" + "description": "The name of the private endpoint connection." }, "properties": { - "$ref": "#/types/azurerm:search/v20200801:PrivateEndpointConnectionPropertiesResponse", + "$ref": "#/types/azurerm:search/v20200313:PrivateEndpointConnectionPropertiesResponse", "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service." }, "type": { "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + "description": "The resource type." } }, "type": "object", @@ -1586337,7 +1588477,7 @@ ] } }, - "azurerm:search/v20200801:getService": { + "azurerm:search/v20200313:getService": { "inputs": { "properties": { "resourceGroupName": { @@ -1586363,19 +1588503,19 @@ "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." }, "identity": { - "$ref": "#/types/azurerm:search/v20200801:IdentityResponse", + "$ref": "#/types/azurerm:search/v20200313:IdentityResponse", "description": "The identity of the resource." }, "location": { "type": "string", - "description": "The geo-location where the resource lives" + "description": "The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property is required when creating a new resource." }, "name": { "type": "string", - "description": "The name of the resource" + "description": "The name of the resource." }, "networkRuleSet": { - "$ref": "#/types/azurerm:search/v20200801:NetworkRuleSetResponse", + "$ref": "#/types/azurerm:search/v20200313:NetworkRuleSetResponse", "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." }, "partitionCount": { @@ -1586385,7 +1588525,7 @@ "privateEndpointConnections": { "type": "array", "items": { - "$ref": "#/types/azurerm:search/v20200801:PrivateEndpointConnectionResponse" + "$ref": "#/types/azurerm:search/v20200313:PrivateEndpointConnectionResponse" }, "description": "The list of private endpoint connections to the Azure Cognitive Search service." }, @@ -1586401,15 +1588541,8 @@ "type": "integer", "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, - "sharedPrivateLinkResources": { - "type": "array", - "items": { - "$ref": "#/types/azurerm:search/v20200801:SharedPrivateLinkResourceResponse" - }, - "description": "The list of shared private link resources managed by the Azure Cognitive Search service." - }, "sku": { - "$ref": "#/types/azurerm:search/v20200801:SkuResponse", + "$ref": "#/types/azurerm:search/v20200313:SkuResponse", "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." }, "status": { @@ -1586425,74 +1588558,25 @@ "additionalProperties": { "type": "string" }, - "description": "Resource tags." + "description": "Tags to help categorize the resource in the Azure portal." }, "type": { "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + "description": "The resource type." } }, "type": "object", "required": [ - "location", "name", "privateEndpointConnections", "provisioningState", - "sharedPrivateLinkResources", "status", "statusDetails", "type" ] } }, - "azurerm:search/v20200801:getSharedPrivateLinkResource": { - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." - }, - "searchServiceName": { - "type": "string", - "description": "The name of the Azure Cognitive Search service associated with the specified resource group." - }, - "sharedPrivateLinkResourceName": { - "type": "string", - "description": "The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group." - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "searchServiceName", - "sharedPrivateLinkResourceName" - ] - }, - "outputs": { - "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "properties": { - "$ref": "#/types/azurerm:search/v20200801:SharedPrivateLinkResourcePropertiesResponse", - "description": "Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service." - }, - "type": { - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } - }, - "type": "object", - "required": [ - "name", - "properties", - "type" - ] - } - }, - "azurerm:search/v20200801:listAdminKey": { + "azurerm:search/v20200313:listAdminKey": { "inputs": { "properties": { "resourceGroupName": { @@ -1586529,6 +1588613,285 @@ ] } }, + "azurerm:search/v20200313:listQueryKeyBySearchService": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "searchServiceName" + ] + }, + "outputs": { + "description": "Response containing the query API keys for a given Azure Cognitive Search service.", + "properties": { + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size." + }, + "value": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:search/v20200313:QueryKeyResponse" + }, + "description": "The query keys for the Azure Cognitive Search service." + } + }, + "type": "object", + "required": [ + "nextLink", + "value" + ] + } + }, + "azurerm:search/v20200801:getPrivateEndpointConnection": { + "inputs": { + "properties": { + "privateEndpointConnectionName": { + "type": "string", + "description": "The name of the private endpoint connection to the Azure Cognitive Search service with the specified resource group." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + } + }, + "type": "object", + "required": [ + "privateEndpointConnectionName", + "resourceGroupName", + "searchServiceName" + ] + }, + "outputs": { + "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource" + }, + "properties": { + "$ref": "#/types/azurerm:search/v20200801:PrivateEndpointConnectionPropertiesResponse", + "description": "Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service." + }, + "type": { + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } + }, + "type": "object", + "required": [ + "name", + "properties", + "type" + ] + } + }, + "azurerm:search/v20200801:getService": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "searchServiceName" + ] + }, + "outputs": { + "description": "Describes an Azure Cognitive Search service and its current state.", + "properties": { + "hostingMode": { + "type": "string", + "description": "Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'." + }, + "identity": { + "$ref": "#/types/azurerm:search/v20200801:IdentityResponse", + "description": "The identity of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "networkRuleSet": { + "$ref": "#/types/azurerm:search/v20200801:NetworkRuleSetResponse", + "description": "Network specific rules that determine how the Azure Cognitive Search service may be reached." + }, + "partitionCount": { + "type": "integer", + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:search/v20200801:PrivateEndpointConnectionResponse" + }, + "description": "The list of private endpoint connections to the Azure Cognitive Search service." + }, + "provisioningState": { + "type": "string", + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." + }, + "publicNetworkAccess": { + "type": "string", + "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." + }, + "replicaCount": { + "type": "integer", + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/types/azurerm:search/v20200801:SharedPrivateLinkResourceResponse" + }, + "description": "The list of shared private link resources managed by the Azure Cognitive Search service." + }, + "sku": { + "$ref": "#/types/azurerm:search/v20200801:SkuResponse", + "description": "The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service." + }, + "status": { + "type": "string", + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + }, + "statusDetails": { + "type": "string", + "description": "The details of the search service status." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } + }, + "type": "object", + "required": [ + "location", + "name", + "privateEndpointConnections", + "provisioningState", + "sharedPrivateLinkResources", + "status", + "statusDetails", + "type" + ] + } + }, + "azurerm:search/v20200801:getSharedPrivateLinkResource": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + }, + "sharedPrivateLinkResourceName": { + "type": "string", + "description": "The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "searchServiceName", + "sharedPrivateLinkResourceName" + ] + }, + "outputs": { + "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource" + }, + "properties": { + "$ref": "#/types/azurerm:search/v20200801:SharedPrivateLinkResourcePropertiesResponse", + "description": "Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service." + }, + "type": { + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } + }, + "type": "object", + "required": [ + "name", + "properties", + "type" + ] + } + }, + "azurerm:search/v20200801:listAdminKey": { + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal." + }, + "searchServiceName": { + "type": "string", + "description": "The name of the Azure Cognitive Search service associated with the specified resource group." + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "searchServiceName" + ] + }, + "outputs": { + "description": "Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.", + "properties": { + "primaryKey": { + "type": "string", + "description": "The primary admin API key of the search service." + }, + "secondaryKey": { + "type": "string", + "description": "The secondary admin API key of the search service." + } + }, + "type": "object", + "required": [ + "primaryKey", + "secondaryKey" + ] + } + }, "azurerm:search/v20200801:listQueryKeyBySearchService": { "inputs": { "properties": { @@ -1586659,7 +1589022,7 @@ }, "partitionCount": { "type": "integer", - "description": "The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." + "description": "The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3." }, "privateEndpointConnections": { "type": "array", @@ -1586670,7 +1589033,7 @@ }, "provisioningState": { "type": "string", - "description": "The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up." + "description": "The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up." }, "publicNetworkAccess": { "type": "string", @@ -1586678,7 +1589041,7 @@ }, "replicaCount": { "type": "integer", - "description": "The number of replicas in the Search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." + "description": "The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU." }, "sharedPrivateLinkResources": { "type": "array", @@ -1586693,11 +1589056,11 @@ }, "status": { "type": "string", - "description": "The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." + "description": "The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned." }, "statusDetails": { "type": "string", - "description": "The details of the Search service status." + "description": "The details of the search service status." }, "tags": { "type": "object", @@ -1586794,11 +1589157,11 @@ "properties": { "primaryKey": { "type": "string", - "description": "The primary admin API key of the Search service." + "description": "The primary admin API key of the search service." }, "secondaryKey": { "type": "string", - "description": "The secondary admin API key of the Search service." + "description": "The secondary admin API key of the search service." } }, "type": "object", @@ -1589624,6 +1591987,62 @@ ] } }, + "azurerm:securityinsights/v20190101preview:getThreatIntelligenceIndicator": { + "inputs": { + "properties": { + "name": { + "type": "string", + "description": "Threat Intelligence Identifier" + }, + "operationalInsightsResourceProvider": { + "type": "string", + "description": "The namespace of workspaces resource provider- Microsoft.OperationalInsights." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive." + }, + "workspaceName": { + "type": "string", + "description": "The name of the workspace." + } + }, + "type": "object", + "required": [ + "name", + "operationalInsightsResourceProvider", + "resourceGroupName", + "workspaceName" + ] + }, + "outputs": { + "description": "Threat intelligence resource.", + "properties": { + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "kind": { + "type": "string", + "description": "The kind of the entity." + }, + "name": { + "type": "string", + "description": "Azure resource name" + }, + "type": { + "type": "string", + "description": "Azure resource type" + } + }, + "type": "object", + "required": [ + "kind", + "name", + "type" + ] + } + }, "azurerm:securityinsights/v20190101preview:getWatchlist": { "inputs": { "properties": { @@ -1619944,11 +1622363,11 @@ "properties": { "etag": { "type": "string", - "description": "Etag identifies change in the resource." + "description": "Resource Etag." }, "name": { "type": "string", - "description": "The resource name." + "description": "The name of the resource" }, "properties": { "$ref": "#/types/azurerm:synapse/v20190601preview:IntegrationRuntimeResponse", @@ -1619956,7 +1622375,7 @@ }, "type": { "type": "string", - "description": "The resource type." + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." } }, "type": "object", @@ -1657479,6 +1659898,7 @@ "devices/v20200401": "Devices.V20200401", "devices/v20200615": "Devices.V20200615", "devices/v20200710preview": "Devices.V20200710Preview", + "devices/v20200801": "Devices.V20200801", "devops/latest": "DevOps.Latest", "devops/v20190701preview": "DevOps.V20190701Preview", "devspaces/latest": "DevSpaces.Latest", @@ -1658436,6 +1660856,7 @@ "devices/v20200401": "devices/v20200401", "devices/v20200615": "devices/v20200615", "devices/v20200710preview": "devices/v20200710preview", + "devices/v20200801": "devices/v20200801", "devops/latest": "devops/latest", "devops/v20190701preview": "devops/v20190701preview", "devspaces/latest": "devspaces/latest",