ArmApiCenterModelFactory.ApiSourceProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
API source properties.
public static Azure.ResourceManager.ApiCenter.Models.ApiSourceProperties ApiSourceProperties(Azure.ResourceManager.ApiCenter.Models.ApiCenterImportSpecificationModel? importSpecification = default, Azure.ResourceManager.ApiCenter.Models.ApiCenterApiManagementSource azureApiManagementSource = default, Azure.Core.ResourceIdentifier targetEnvironmentId = default, Azure.ResourceManager.ApiCenter.Models.ApiLifecycleStage? targetLifecycleStage = default, Azure.ResourceManager.ApiCenter.Models.ApiCenterLinkState linkState = default);
static member ApiSourceProperties : Nullable<Azure.ResourceManager.ApiCenter.Models.ApiCenterImportSpecificationModel> * Azure.ResourceManager.ApiCenter.Models.ApiCenterApiManagementSource * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ApiCenter.Models.ApiLifecycleStage> * Azure.ResourceManager.ApiCenter.Models.ApiCenterLinkState -> Azure.ResourceManager.ApiCenter.Models.ApiSourceProperties
Public Shared Function ApiSourceProperties (Optional importSpecification As Nullable(Of ApiCenterImportSpecificationModel) = Nothing, Optional azureApiManagementSource As ApiCenterApiManagementSource = Nothing, Optional targetEnvironmentId As ResourceIdentifier = Nothing, Optional targetLifecycleStage As Nullable(Of ApiLifecycleStage) = Nothing, Optional linkState As ApiCenterLinkState = Nothing) As ApiSourceProperties
Parameters
- importSpecification
- Nullable<ApiCenterImportSpecificationModel>
Indicates if the specification should be imported along with metadata.
- azureApiManagementSource
- ApiCenterApiManagementSource
API source configuration for Azure API Management.
- targetEnvironmentId
- ResourceIdentifier
The target environment resource ID.
- targetLifecycleStage
- Nullable<ApiLifecycleStage>
The target lifecycle stage.
- linkState
- ApiCenterLinkState
The state of the API source link.
Returns
A new ApiSourceProperties instance for mocking.