-
Notifications
You must be signed in to change notification settings - Fork 5k
Generated Csharp SDK for IOT and added test case #51486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@Hanagmb please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces new data model classes for the Azure.ResourceManager.IotOperations SDK to support various IoT operations resources. Each model implements a constructor that validates and requires the extendedLocation
parameter for proper resource initialization.
Key changes:
- Added seven new data model classes for different IoT operations resources (dataflow profiles, endpoints, brokers, etc.)
- Each class inherits from
ResourceData
and includes a mandatory constructor parameter validation - Consistent pattern of requiring
IotOperationsExtendedLocation
parameter across all models
Reviewed Changes
Copilot reviewed 7 out of 372 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
IotOperationsDataflowprofileData.cs | New data model for dataflow profile resources with required extended location |
IotOperationsDataflowEndpointData.cs | New data model for dataflow endpoint resources with required extended location |
IotOperationsDataflowData.cs | New data model for dataflow resources with required extended location |
IotOperationsBrokerListenerData.cs | New data model for broker listener resources with required extended location |
IotOperationsBrokerData.cs | New data model for broker resources with required extended location |
IotOperationsBrokerAuthorizationData.cs | New data model for broker authorization resources with required extended location |
IotOperationsBrokerAuthenticationData.cs | New data model for broker authentication resources with required extended location |
...e.ResourceManager.IotOperations/src/Customization/Models/IotOperationsDataflowprofileData.cs
Outdated
Show resolved
Hide resolved
....ResourceManager.IotOperations/src/Customization/Models/IotOperationsDataflowEndpointData.cs
Outdated
Show resolved
Hide resolved
...ns/Azure.ResourceManager.IotOperations/src/Customization/Models/IotOperationsDataflowData.cs
Outdated
Show resolved
Hide resolved
…omization/Models/IotOperationsDataflowEndpointData.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…omization/Models/IotOperationsDataflowprofileData.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…omization/Models/IotOperationsDataflowData.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…re-sdk-for-net into hanasheto/iotcsharpsdk
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Contributing to the Azure SDK
This pulls request introduces several new resources to the
Azure.ResourceManager.IotOperations
SDK, enhancing support for IoT operations resources. Each model represents a distinct type of IoT resource and includes constructors to initialize with mandatory parameters, ensuring proper validation.These changes collectively enhance the SDK's ability to represent and manage various IoT-related resources, with consistent validation and initialization logic across all models.