Skip to content

Commit 5a4d77c

Browse files
author
Teng Lu
committed
remove subdomain and resourceName check for idempotent
1 parent 7e6d2bc commit 5a4d77c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/IotCentral/IotCentral/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-->
2020
## Upcoming Release
2121
## Version 0.7.2
22-
* Remove subdomain check for create new IotCentral application, it will be handled by resource provider for idempotent
22+
* Remove subdomain and resource name checks for create new IotCentral application, it will be handled by resource provider for idempotent
2323

2424
## Version 0.7.1
2525
* Added subdomain parameter to Set-AzureRmIoTCentralApp for updating subdomain

src/IotCentral/IotCentral/Common/IotCentralUtils.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,5 @@ public static AppPatch CreateAppPatch(App iotCentralApp)
4343
};
4444
return copiedIotCenralApp;
4545
}
46-
47-
public static void EnsureAvailabilityOrThrow(AppAvailabilityInfo availabilityInfo)
48-
{
49-
if (availabilityInfo.NameAvailable != true)
50-
{
51-
throw new PSArgumentException(availabilityInfo.Message);
52-
}
53-
}
5446
}
5547
}

0 commit comments

Comments
 (0)