Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ namespace Pandora.Definitions.ResourceManager.DataBricks
public partial class Service : ServiceDefinition
{
public string Name => "DataBricks";
public string? ResourceProvider => "Microsoft.DataBricks";
public string? ResourceProvider => "Microsoft.Databricks";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ public partial class Definition : ApiVersionDefinition
public IEnumerable<ApiDefinition> Apis => new List<ApiDefinition>
{
new DELETE.Definition(),
new GET.Definition(),
new OutboundNetworkDependenciesEndpoints.Definition(),
new PUT.Definition(),
new PrivateEndpointConnections.Definition(),
new PrivateLinkResources.Definition(),
new VNetPeering.Definition(),
new Workspaces.Definition(),
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{
internal class Definition : ApiDefinition
{
public string ApiVersion => "2021-04-01-preview";
public string Name => "GET";
public string Name => "OutboundNetworkDependenciesEndpoints";
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation>
{
new OutboundNetworkDependenciesEndpointsListOperation(),
new PrivateEndpointConnectionsGetOperation(),
new PrivateEndpointConnectionsListOperation(),
new PrivateLinkResourcesGetOperation(),
new PrivateLinkResourcesListOperation(),
new ListOperation(),
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{

internal class EndpointDependencyModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{

internal class EndpointDetailModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{

internal class OutboundEnvironmentEndpointModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Net;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{
internal class OutboundNetworkDependenciesEndpointsListOperation : Operations.GetOperation
internal class ListOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new WorkspaceId();

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.OutboundNetworkDependenciesEndpoints
{
internal class WorkspaceId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}";

public List<ResourceIDSegment> Segments()
{
return new List<ResourceIDSegment>
{
new()
{
Name = "subscriptions",
Type = ResourceIDSegmentType.Static,
FixedValue = "subscriptions"
},

new()
{
Name = "subscriptionId",
Type = ResourceIDSegmentType.SubscriptionId
},

new()
{
Name = "resourceGroups",
Type = ResourceIDSegmentType.Static,
FixedValue = "resourceGroups"
},

new()
{
Name = "resourceGroupName",
Type = ResourceIDSegmentType.ResourceGroup
},

new()
{
Name = "providers",
Type = ResourceIDSegmentType.Static,
FixedValue = "providers"
},

new()
{
Name = "microsoftDatabricks",
Type = ResourceIDSegmentType.ResourceProvider,
FixedValue = "Microsoft.Databricks"
},

new()
{
Name = "workspaces",
Type = ResourceIDSegmentType.Static,
FixedValue = "workspaces"
},

new()
{
Name = "workspaceName",
Type = ResourceIDSegmentType.UserSpecified
},

};
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Pandora.Definitions.Attributes;
using System.ComponentModel;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
[ConstantType(ConstantTypeAttribute.ConstantType.String)]
internal enum PrivateEndpointConnectionProvisioningStateConstant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Pandora.Definitions.Attributes;
using System.ComponentModel;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
[ConstantType(ConstantTypeAttribute.ConstantType.String)]
internal enum PrivateLinkServiceConnectionStatusConstant
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
internal class Definition : ApiDefinition
{
public string ApiVersion => "2021-04-01-preview";
public string Name => "PrivateEndpointConnections";
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation>
{
new GetOperation(),
new ListOperation(),
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{

internal class PrivateEndpointModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{

internal class PrivateEndpointConnectionModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{

internal class PrivateEndpointConnectionPropertiesModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{

internal class PrivateLinkServiceConnectionStateModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Net;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
internal class PrivateEndpointConnectionsGetOperation : Operations.GetOperation
internal class GetOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new PrivateEndpointConnectionId();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Net;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
internal class PrivateEndpointConnectionsListOperation : Operations.ListOperation
internal class ListOperation : Operations.ListOperation
{
public override string? FieldContainingPaginationDetails() => "nextLink";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
internal class PrivateEndpointConnectionId : ResourceID
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateEndpointConnections
{
internal class WorkspaceId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}";

public List<ResourceIDSegment> Segments()
{
return new List<ResourceIDSegment>
{
new()
{
Name = "subscriptions",
Type = ResourceIDSegmentType.Static,
FixedValue = "subscriptions"
},

new()
{
Name = "subscriptionId",
Type = ResourceIDSegmentType.SubscriptionId
},

new()
{
Name = "resourceGroups",
Type = ResourceIDSegmentType.Static,
FixedValue = "resourceGroups"
},

new()
{
Name = "resourceGroupName",
Type = ResourceIDSegmentType.ResourceGroup
},

new()
{
Name = "providers",
Type = ResourceIDSegmentType.Static,
FixedValue = "providers"
},

new()
{
Name = "microsoftDatabricks",
Type = ResourceIDSegmentType.ResourceProvider,
FixedValue = "Microsoft.Databricks"
},

new()
{
Name = "workspaces",
Type = ResourceIDSegmentType.Static,
FixedValue = "workspaces"
},

new()
{
Name = "workspaceName",
Type = ResourceIDSegmentType.UserSpecified
},

};
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{
internal class Definition : ApiDefinition
{
public string ApiVersion => "2021-04-01-preview";
public string Name => "PrivateLinkResources";
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation>
{
new GetOperation(),
new ListOperation(),
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{

internal class GroupIdInformationModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Pandora.Definitions.Attributes.Validation;
using Pandora.Definitions.CustomTypes;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{

internal class GroupIdInformationPropertiesModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Net;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{
internal class PrivateLinkResourcesGetOperation : Operations.GetOperation
internal class GetOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new PrivateLinkResourceId();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Net;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{
internal class PrivateLinkResourcesListOperation : Operations.ListOperation
internal class ListOperation : Operations.ListOperation
{
public override string? FieldContainingPaginationDetails() => "nextLink";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Pandora.Definitions.Interfaces;

namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.GET
namespace Pandora.Definitions.ResourceManager.DataBricks.v2021_04_01_preview.PrivateLinkResources
{
internal class PrivateLinkResourceId : ResourceID
{
Expand Down
Loading