public void Deserialize_ContainerGroupNotSupplied_Null()
 {
     YamlAssert.PropertyNull <ContainerInstanceResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-resource-group",
         c => c.ContainerGroup);
 }
 public void Deserialize_RegistryNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <LogicAppResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         c => c.WorkflowName);
 }
Exemplo n.º 3
0
 public void Deserialize_RawValueNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "environmentVariable: MY_VARIABLE",
         s => s.RawValue);
 }
Exemplo n.º 4
0
 public void Deserialize_DatabaseNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <AzureSqlDatabaseResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         c => c.DatabaseName);
 }
Exemplo n.º 5
0
 public void Deserialize_LimitNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "resourceGroupName: promitor-group",
         a => a.Limit);
 }
Exemplo n.º 6
0
 public void Deserialize_TypeNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "interval: 00:05:00",
         a => a.Type);
 }
 public void Deserialize_ServerNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <MariaDbResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.ServerName);
 }
 public void Deserialize_CacheNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <RedisEnterpriseCacheResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.CacheName);
 }
 public void Deserialize_InstanceNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <SqlManagedInstanceResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         c => c.InstanceName);
 }
Exemplo n.º 10
0
 public void Deserialize_DimensionNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "resourceGroupName: promitor-group",
         a => a.Name);
 }
Exemplo n.º 11
0
 public void Deserialize_AutoscaleSettingsNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <MonitorAutoscaleResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.AutoscaleSettingsName);
 }
 public void Deserialize_ScaleSetNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <VirtualMachineScaleSetResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.ScaleSetName);
 }
 public void Deserialize_NetworkInterfaceNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <NetworkInterfaceResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.NetworkInterfaceName);
 }
Exemplo n.º 14
0
 public void Deserialize_ExpressRouteCircuitNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <ExpressRouteCircuitResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.ExpressRouteCircuitName);
 }
Exemplo n.º 15
0
 public void Deserialize_WorkspaceNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <SynapseApacheSparkPoolResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         c => c.WorkspaceName);
 }
 public void Deserialize_ResourceUriNotSupplied_Null()
 {
     YamlAssert.PropertyNull <GenericResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.ResourceUri);
 }
Exemplo n.º 17
0
 public void Deserialize_LocationNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <ApiManagementResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.LocationName);
 }
Exemplo n.º 18
0
 public void Deserialize_ClusterNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <KubernetesServiceResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.ClusterName);
 }
Exemplo n.º 19
0
 public void Deserialize_IntervalNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "type: Average",
         a => a.Interval);
 }
 public void Deserialize_RunbookNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <AutomationAccountResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.RunbookName);
 }
 public void Deserialize_NamespaceNotSupplied_Null()
 {
     YamlAssert.PropertyNull <ServiceBusQueueResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.Namespace);
 }
Exemplo n.º 22
0
 public void Deserialize_VirtualNetworkNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <VirtualNetworkResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.VirtualNetworkName);
 }
Exemplo n.º 23
0
 public void Deserialize_AggregationNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "metricName: ActiveMessages",
         c => c.Aggregation);
 }
Exemplo n.º 24
0
 public void Deserialize_QueueNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <StorageQueueResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.QueueName);
 }
Exemplo n.º 25
0
 public void Deserialize_AppPlanNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <AppPlanResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.AppPlanName);
 }
Exemplo n.º 26
0
 public void Deserialize_FactoryNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <DataFactoryResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-resource-group",
         c => c.FactoryName);
 }
Exemplo n.º 27
0
 public void Deserialize_ResourceTypeNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "name: promitor_test_metric",
         d => d.ResourceType);
 }
 public void Deserialize_PoolNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <SqlElasticPoolResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         c => c.PoolName);
 }
Exemplo n.º 29
0
 public void Deserialize_EnvironmentVariableNotSupplied_Null()
 {
     YamlAssert.PropertyNull(
         _deserializer,
         "rawValue: abc123",
         s => s.EnvironmentVariable);
 }
 public void Deserialize_TopicNameNotSupplied_Null()
 {
     YamlAssert.PropertyNull <EventHubsResourceV1, AzureResourceDefinitionV1>(
         _deserializer,
         "resourceGroupName: promitor-group",
         r => r.TopicName);
 }