ArmSqlModelFactory.EndpointCertificateData 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.
public static Azure.ResourceManager.Sql.EndpointCertificateData EndpointCertificateData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string publicBlob = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.EndpointTrustedRootCertificateInfo> trustedRootCertificates = default);
static member EndpointCertificateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Sql.Models.EndpointTrustedRootCertificateInfo> -> Azure.ResourceManager.Sql.EndpointCertificateData
Public Shared Function EndpointCertificateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional publicBlob As String = Nothing, Optional trustedRootCertificates As IEnumerable(Of EndpointTrustedRootCertificateInfo) = Nothing) As EndpointCertificateData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- publicBlob
- String
The certificate public blob.
- trustedRootCertificates
- IEnumerable<EndpointTrustedRootCertificateInfo>
Trusted root certificates required to validate the instance certificate.
Returns
A new EndpointCertificateData instance for mocking.